diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 01:35:06 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 02:11:48 +0200 |
commit | 1a64deeb894dc95e2645a75771732c6cc53a79ad (patch) | |
tree | 1b9df4838f894577a09b9b260151756272efeb53 /systems/backup-2/flake.nix | |
parent | fa25ffd4583cc362075cd5e1b4130f33306103f0 (diff) | |
download | Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.gz Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.zst Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.zip |
Squash changes containing private information
There were a lot of changes since the previous commit, but a lot of them
contained personnal information about users. All thos changes got
stashed into a single commit (history is kept in a different place) and
private information was moved in a separate private repository
Diffstat (limited to 'systems/backup-2/flake.nix')
-rw-r--r-- | systems/backup-2/flake.nix | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/systems/backup-2/flake.nix b/systems/backup-2/flake.nix new file mode 100644 index 0000000..e6807d6 --- /dev/null +++ b/systems/backup-2/flake.nix | |||
@@ -0,0 +1,51 @@ | |||
1 | { | ||
2 | inputs = { | ||
3 | nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; | ||
4 | |||
5 | my-lib.url = "path:../../flakes/lib"; | ||
6 | |||
7 | openldap.url = "path:../../flakes/private/openldap"; | ||
8 | monitoring.url = "path:../../flakes/private/monitoring"; | ||
9 | mail-relay.url = "path:../../flakes/private/mail-relay"; | ||
10 | milters.url = "path:../../flakes/private/milters"; | ||
11 | openarc.url = "path:../../flakes/private/openarc"; | ||
12 | opendmarc.url = "path:../../flakes/private/opendmarc"; | ||
13 | chatons.url = "path:../../flakes/private/chatons"; | ||
14 | environment.url = "path:../../flakes/private/environment"; | ||
15 | system.url = "path:../../flakes/private/system"; | ||
16 | |||
17 | myuids.url = "path:../../flakes/myuids"; | ||
18 | secrets.url = "path:../../flakes/secrets"; | ||
19 | rsync_backup.url = "path:../../flakes/rsync_backup"; | ||
20 | loginctl-linger.url = "path:../../flakes/loginctl-linger"; | ||
21 | }; | ||
22 | outputs = inputs@{ self, my-lib, nixpkgs, ...}: | ||
23 | my-lib.lib.mkColmenaFlake { | ||
24 | name = "backup-2"; | ||
25 | inherit self nixpkgs; | ||
26 | system = "x86_64-linux"; | ||
27 | targetHost = "95.217.19.143"; | ||
28 | targetUser = "root"; | ||
29 | nixosModules = { | ||
30 | base = ./base.nix; | ||
31 | system = inputs.system.nixosModule; | ||
32 | mail-relay = inputs.mail-relay.nixosModule; | ||
33 | milters = inputs.milters.nixosModule; | ||
34 | openarc = inputs.openarc.nixosModule; | ||
35 | opendmarc = inputs.opendmarc.nixosModule; | ||
36 | chatons = inputs.chatons.nixosModule; | ||
37 | monitoring = inputs.monitoring.nixosModule; | ||
38 | environment = inputs.environment.nixosModule; | ||
39 | |||
40 | myuids = inputs.myuids.nixosModule; | ||
41 | secrets = inputs.secrets.nixosModule; | ||
42 | rsync_backup = inputs.rsync_backup.nixosModule; | ||
43 | loginctl-linger = inputs.loginctl-linger.nixosModule; | ||
44 | }; | ||
45 | moduleArgs = { | ||
46 | nixpkgs = inputs.nixpkgs; | ||
47 | openldap = inputs.openldap; | ||
48 | monitoring = inputs.monitoring; | ||
49 | }; | ||
50 | }; | ||
51 | } | ||