-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
142 lines (130 loc) · 3.22 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
description = "NixOS configuration of 42willow";
outputs = {
self,
nixpkgs,
home-manager,
...
} @ inputs: {
nixosConfigurations = {
earthy = nixpkgs.lib.nixosSystem {
modules = [
./hosts/earthy
home-manager.nixosModules.home-manager
];
specialArgs = {
inherit self inputs;
};
};
anemone = nixpkgs.lib.nixosSystem {
modules = [
./hosts/anemone
home-manager.nixosModules.home-manager
];
specialArgs = {
inherit self inputs;
};
};
lily = nixpkgs.lib.nixosSystem {
modules = [
./hosts/lily
home-manager.nixosModules.home-manager
];
specialArgs = {
inherit self inputs;
};
};
zinnia = nixpkgs.lib.nixosSystem {
modules = [
./hosts/zinnia
home-manager.nixosModules.home-manager
];
specialArgs = {
inherit self inputs;
};
};
};
};
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
# themes
catppuccin = {
url = "github:catppuccin/nix";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
stylix = {
url = "github:danth/stylix/release-24.11";
inputs = {
nixpkgs.follows = "nixpkgs";
systems.follows = "systems";
flake-utils.follows = "flake-utils";
flake-compat.follows = "";
git-hooks.follows = "";
home-manager.follows = "";
};
};
# hardware
nixos-wsl = {
url = "github:nix-community/NixOS-WSL/main";
inputs.flake-compat.follows = "";
};
raspberry-pi-nix = {
url = "github:nix-community/raspberry-pi-nix?ref=v0.4.1";
inputs.nixpkgs.follows = "nixpkgs";
};
# home-manager
home-manager = {
url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs";
};
# spicetify
spicetify-nix = {
url = "github:Gerg-L/spicetify-nix";
inputs = {
nixpkgs.follows = "nixpkgs-unstable";
systems.follows = "systems";
flake-compat.follows = "";
};
};
# secrets
agenix = {
url = "github:ryantm/agenix";
inputs = {
nixpkgs.follows = "nixpkgs-unstable";
systems.follows = "systems";
darwin.follows = "";
home-manager.follows = "";
};
};
# firefox
zen-browser = {
url = "github:youwen5/zen-browser-flake";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
# wallpapers
wallpapers = {
url = "github:42willow/wallpapers";
inputs = {
nixpkgs.follows = "nixpkgs-unstable";
systems.follows = "systems";
};
};
# reduce inputs
systems = {
url = "github:nix-systems/default";
};
flake-utils = {
url = "github:numtide/flake-utils";
inputs.systems.follows = "systems";
};
firefox-cascade = {
url = "github:cascadefox/cascade";
flake = false;
};
# nixvim = {
# url = "github:nix-community/nixvim/";
# inputs.nixpkgs.follows = "nixpkgs-unstable";
# };
};
}