Skip to content

Commit 3c456d2

Browse files
committed
Update flake to new node naming scheme (servername -> alfa/bravo/...)
1 parent 50e6d0e commit 3c456d2

File tree

6 files changed

+68
-309
lines changed

6 files changed

+68
-309
lines changed

flake.lock

Lines changed: 55 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
};
5151

5252
imports = [
53-
./hosts/itxserver/configuration.nix
53+
./hosts/alfa/default.nix
5454
];
5555
};
5656
};
@@ -62,7 +62,7 @@
6262
# The itx server hosting most of my homelab
6363
nixosConfigurations.alfa = nixpkgs.lib.nixosSystem {
6464
specialArgs = { inherit inputs; };
65-
modules = [ ./hosts/itxserver/configuration.nix ];
65+
modules = [ ./hosts/alfa/default.nix ];
6666
};
6767
};
6868
}

hosts/s-alfa/default.nix renamed to hosts/alfa/default.nix

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,24 @@ in
3232
../../modules/containers/homeassistant.nix
3333
../../modules/containers/plex.nix
3434
../../modules/containers/freshrss.nix
35-
../../modules/other/minecraft-server.nix
3635
# Any third-party modules or flakes:
3736
inputs.sops-nix.nixosModules.sops
3837
];
3938

4039
sops = {
4140
defaultSopsFormat = "dotenv";
41+
4242
age.keyFile = "/home/lukas/.config/sops/age/keys.txt";
43-
secrets.syncthing-user = {
44-
sopsFile = ../../secrets/syncthing.env.enc;
45-
key = "user";
46-
};
47-
secrets.syncthing-password = {
48-
sopsFile = ../../secrets/syncthing.env.enc;
49-
key = "password";
43+
44+
secrets = {
45+
syncthing-user = {
46+
sopsFile = ../../secrets/syncthing.env.enc;
47+
key = "user";
48+
};
49+
syncthing-password = {
50+
sopsFile = ../../secrets/syncthing.env.enc;
51+
key = "password";
52+
};
5053
};
5154
};
5255

File renamed without changes.

0 commit comments

Comments
 (0)