-
-
Notifications
You must be signed in to change notification settings - Fork 130
Expand file tree
/
Copy pathflake.nix
More file actions
131 lines (111 loc) · 3.25 KB
/
flake.nix
File metadata and controls
131 lines (111 loc) · 3.25 KB
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
{
description = "NixOS.org infra";
nixConfig.extra-substituters = [ "https://nixos-infra-dev.cachix.org" ];
nixConfig.extra-trusted-public-keys = [
"nixos-infra-dev.cachix.org-1:OvwhqPPs81cInrtRAX0K7dG6lw8wXcQEX4xyp4AnSXw="
];
inputs = {
agenix = {
url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs";
};
nix = {
url = "github:NixOS/nix/2.34-maintenance";
flake = false;
};
hydra = {
url = "github:NixOS/hydra/a40d42862da88cce78a27dd594e1484a034aac4d";
inputs.nixpkgs.follows = "nixpkgs";
inputs.nix.follows = "nix";
};
hydra-staging = {
url = "github:NixOS/hydra";
inputs.nixpkgs.follows = "nixpkgs";
# Can be kept in sync I suppose for now.
inputs.nix.follows = "nix";
};
nixos-channel-scripts = {
url = "github:NixOS/nixos-channel-scripts";
inputs.nixpkgs.follows = "nixpkgs";
};
rfc39 = {
url = "github:NixOS/rfc39";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11-small";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
darwin = {
url = "github:nix-darwin/nix-darwin/nix-darwin-25.11";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-utils.url = "github:numtide/flake-utils";
freescout = {
url = "git+https://cyberchaos.dev/e1mo/freescout-nix-flake.git";
inputs = {
flake-utils.follows = "flake-utils";
nixpkgs.follows = "nixpkgs";
};
};
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
colmena = {
url = "github:zhaofengli/colmena";
inputs = {
flake-utils.follows = "flake-utils";
nixpkgs.follows = "nixpkgs";
stable.follows = "nixpkgs";
};
};
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
nft-prefix-import = {
# https://github.com/mweinelt/nft-prefix-import/pull/2
url = "github:Mic92/nft-prefix-import/nft-stdin";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
srvos = {
url = "github:numtide/srvos";
inputs.nixpkgs.follows = "nixpkgs";
};
simple-nixos-mailserver = {
url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-25.11";
inputs.nixpkgs.follows = "nixpkgs";
};
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs-swh = {
url = "github:nix-community/nixpkgs-swh";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [
"x86_64-linux"
"aarch64-linux"
"x86_64-darwin"
"aarch64-darwin"
];
imports = [
./build/flake-module.nix
./builders/flake-module.nix
./dns/flake-module.nix
./formatter/flake-module.nix
./checks/flake-module.nix
./terraform/flake-module.nix
./non-critical-infra/flake-module.nix
./macs/flake-module.nix
];
};
}