hydra fix key path

This commit is contained in:
Kabbone 2024-05-25 12:50:05 +02:00
parent 36536b1688
commit f0650cc939
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY
2 changed files with 3 additions and 4 deletions

View File

@ -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;

View File

@ -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";
};