diff options
Diffstat (limited to 'systems/monitoring-1/flake.nix')
-rw-r--r-- | systems/monitoring-1/flake.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/systems/monitoring-1/flake.nix b/systems/monitoring-1/flake.nix new file mode 100644 index 0000000..e97cb05 --- /dev/null +++ b/systems/monitoring-1/flake.nix | |||
@@ -0,0 +1,45 @@ | |||
1 | { | ||
2 | inputs = { | ||
3 | nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; | ||
4 | |||
5 | my-lib.url = "path:../../flakes/lib"; | ||
6 | |||
7 | monitoring.url = "path:../../flakes/private/monitoring"; | ||
8 | mail-relay.url = "path:../../flakes/private/mail-relay"; | ||
9 | chatons.url = "path:../../flakes/private/chatons"; | ||
10 | environment.url = "path:../../flakes/private/environment"; | ||
11 | system.url = "path:../../flakes/private/system"; | ||
12 | php.url = "path:../../flakes/private/php"; | ||
13 | |||
14 | myuids.url = "path:../../flakes/myuids"; | ||
15 | secrets.url = "path:../../flakes/secrets"; | ||
16 | files-watcher.url = "path:../../flakes/files-watcher"; | ||
17 | loginctl-linger.url = "path:../../flakes/loginctl-linger"; | ||
18 | }; | ||
19 | outputs = inputs@{ self, my-lib, nixpkgs, ...}: | ||
20 | my-lib.lib.mkColmenaFlake { | ||
21 | name = "monitoring-1"; | ||
22 | inherit self nixpkgs; | ||
23 | system = "x86_64-linux"; | ||
24 | targetHost = "95.216.164.150"; | ||
25 | targetUser = "root"; | ||
26 | nixosModules = { | ||
27 | base = ./base.nix; | ||
28 | system = inputs.system.nixosModule; | ||
29 | mail-relay = inputs.mail-relay.nixosModule; | ||
30 | chatons = inputs.chatons.nixosModule; | ||
31 | monitoring = inputs.monitoring.nixosModule; | ||
32 | environment = inputs.environment.nixosModule; | ||
33 | |||
34 | myuids = inputs.myuids.nixosModule; | ||
35 | secrets = inputs.secrets.nixosModule; | ||
36 | files-watcher = inputs.files-watcher.nixosModule; | ||
37 | loginctl-linger = inputs.loginctl-linger.nixosModule; | ||
38 | }; | ||
39 | moduleArgs = { | ||
40 | nixpkgs = inputs.nixpkgs; | ||
41 | monitoring = inputs.monitoring; | ||
42 | php = inputs.php; | ||
43 | }; | ||
44 | }; | ||
45 | } | ||