hydra fix key path
This commit is contained in:
parent
36536b1688
commit
f0650cc939
@ -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;
|
||||
|
@ -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";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user