diff --git a/modules/hosts/dnsc-server/default.nix b/modules/hosts/dnsc-server/default.nix index 11b027e..770f2e0 100644 --- a/modules/hosts/dnsc-server/default.nix +++ b/modules/hosts/dnsc-server/default.nix @@ -1,6 +1,7 @@ { inputs, config, ... }: let hostname = "dnsc-server"; + secretsDir = "${inputs.self}/secrets"; in { flake.nixosConfigurations.${hostname} = inputs.nixpkgs.lib.nixosSystem { @@ -22,6 +23,7 @@ in ({ config, ... }: { imports = [ ./_hardware-configuration.nix ]; networking.hostName = hostname; + networking.hostId = "e5d5a602"; system.stateVersion = "24.11"; # Secrets for this machine @@ -30,7 +32,7 @@ in "${config.users.users.dennis.home}/.ssh/id_ed25519" ]; secrets."restic/password" = { - file = ../../secrets/restic/password.age; + file = "${secretsDir}/restic/password.age"; }; };