diff --git a/hosts/dmz/default.nix b/hosts/dmz/default.nix index 05b7039..cd2fe7c 100644 --- a/hosts/dmz/default.nix +++ b/hosts/dmz/default.nix @@ -24,8 +24,7 @@ [(import ./hardware-configuration.nix)] ++ # Current system hardware config @ /etc/nixos/hardware-configuration.nix [(import ../../modules/wm/virtualisation/docker.nix)] ++ # Docker [(import ../../modules/wm/virtualisation/kvm-intel.nix)] ++ # Docker - (import ../../modules/services/dmz) ++ # Server Services - (import ../../modules/hardware); # Hardware devices + (import ../../modules/services/dmz); # Server Services boot = { # Boot options kernelPackages = pkgs.linuxPackages_latest; diff --git a/modules/services/dmz/hydra.nix b/modules/services/dmz/hydra.nix index cc76b16..1fa2d9d 100644 --- a/modules/services/dmz/hydra.nix +++ b/modules/services/dmz/hydra.nix @@ -20,11 +20,11 @@ ]; extraOptions = '' - secret-key-files = config.age.secrets."keys/nixservepriv".path; + secret-key-files = $(cat "${config.age.secrets."keys/nixsign".path}"); ''; }; - age.secrets."keys/nixservepriv" = { + age.secrets."keys/nixsign" = { file = ../../../secrets/keys/nixservepriv.age; owner = "hydra"; };