From ceb3988424b9676af7da7cd35483e3f751cfcb1e Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 3 Aug 2021 17:15:37 +0200 Subject: vidhar: ... --- system-profiles/initrd-ssh/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'system-profiles') 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 @@ sops.secrets = { initrd_ssh_host_rsa_key = { key = "rsa"; - path = "/etc/initrd_ssh_host_rsa_key"; + path = "/etc/initrd-ssh/ssh_host_rsa_key"; sopsFile = ./host-keys + "/${hostName}-private.yaml"; }; initrd_ssh_host_ed25519_key = { key = "ed25519"; - path = "/etc/initrd_ssh_host_ed25519_key"; + path = "/etc/initrd-ssh/ssh_host_ed25519_key"; sopsFile = ./host-keys + "/${hostName}-private.yaml"; }; }; @@ -28,8 +28,8 @@ yq -r '.${typ}' ${./host-keys + "/${hostName}-public.yaml"} > $out ''; in { - "initrd_ssh_host_rsa_key.pub".source = mkPubkey "rsa"; - "initrd_ssh_host_ed25519_key.pub".source = mkPubkey "ed25519"; + "initrd-ssh/ssh_host_rsa_key.pub".source = mkPubkey "rsa"; + "initrd-ssh/ssh_host_ed25519_key.pub".source = mkPubkey "ed25519"; }; }; } -- cgit v1.2.3