summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system-profiles/initrd-ssh/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/system-profiles/initrd-ssh/default.nix b/system-profiles/initrd-ssh/default.nix
index 00fa55b6..55a608b9 100644
--- a/system-profiles/initrd-ssh/default.nix
+++ b/system-profiles/initrd-ssh/default.nix
@@ -13,12 +13,12 @@
13 sops.secrets = { 13 sops.secrets = {
14 initrd_ssh_host_rsa_key = { 14 initrd_ssh_host_rsa_key = {
15 key = "rsa"; 15 key = "rsa";
16 path = "/etc/initrd_ssh_host_rsa_key"; 16 path = "/etc/initrd-ssh/ssh_host_rsa_key";
17 sopsFile = ./host-keys + "/${hostName}-private.yaml"; 17 sopsFile = ./host-keys + "/${hostName}-private.yaml";
18 }; 18 };
19 initrd_ssh_host_ed25519_key = { 19 initrd_ssh_host_ed25519_key = {
20 key = "ed25519"; 20 key = "ed25519";
21 path = "/etc/initrd_ssh_host_ed25519_key"; 21 path = "/etc/initrd-ssh/ssh_host_ed25519_key";
22 sopsFile = ./host-keys + "/${hostName}-private.yaml"; 22 sopsFile = ./host-keys + "/${hostName}-private.yaml";
23 }; 23 };
24 }; 24 };
@@ -28,8 +28,8 @@
28 yq -r '.${typ}' ${./host-keys + "/${hostName}-public.yaml"} > $out 28 yq -r '.${typ}' ${./host-keys + "/${hostName}-public.yaml"} > $out
29 ''; 29 '';
30 in { 30 in {
31 "initrd_ssh_host_rsa_key.pub".source = mkPubkey "rsa"; 31 "initrd-ssh/ssh_host_rsa_key.pub".source = mkPubkey "rsa";
32 "initrd_ssh_host_ed25519_key.pub".source = mkPubkey "ed25519"; 32 "initrd-ssh/ssh_host_ed25519_key.pub".source = mkPubkey "ed25519";
33 }; 33 };
34 }; 34 };
35} 35}