-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
101 lines (86 loc) · 2.44 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
description = "HeitorAugustoLN's personal Nix configuration flake";
inputs = {
# Flake framework
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
# Declarative disk partitioning
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
# Collection of hardware configurations
hardware.url = "github:nixos/nixos-hardware";
# Packages
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.05";
nur.url = "github:nix-community/NUR"; # Nix User Repository: User contributed nix packages
# User-specific configuration
home-manager = {
url = "github:HeitorAugustoLN/home-manager/chromium-nativemessaginghosts";
inputs.nixpkgs.follows = "nixpkgs";
};
# Secrets management
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
# System and user theme
catppuccin.url = "github:catppuccin/nix";
catppuccin-palette = {
url = "github:HeitorAugustoLN/palette/flake";
inputs.nixpkgs.follows = "nixpkgs";
};
catppuccin-where-is-my-sddm-theme = {
url = "github:catppuccin/where-is-my-sddm-theme";
inputs.nixpkgs.follows = "nixpkgs";
};
# KDE Plasma and KDE apps configuration
plasma-manager = {
url = "github:nix-community/plasma-manager";
inputs = {
nixpkgs.follows = "nixpkgs";
home-manager.follows = "home-manager";
};
};
# Firefox user.js
betterfox = {
url = "github:HeitorAugustoLN/betterfox-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
# Neovim
neovim = {
url = "github:HeitorAugustoLN/nvim-config";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-parts.follows = "flake-parts";
};
};
# Wallpapers collection that I use
wallpapers = {
url = "github:HeitorAugustoLN/wallpapers";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = [
"x86_64-linux"
];
imports = [
./hosts
./modules
./overlays
./pkgs
];
perSystem =
{ pkgs, ... }:
{
devShells = import ./shell.nix { inherit pkgs; };
formatter = pkgs.nixfmt-rfc-style;
};
};
}