From cd2ed4f9ec02605ca06f935350ffdd1f0682a89d Mon Sep 17 00:00:00 2001 From: Dennis Schoepf Date: Wed, 4 Mar 2026 22:52:52 +0100 Subject: [PATCH] fixes agenix and zfs --- modules/hosts/dnsc-server/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"; }; };