diff options
Diffstat (limited to 'system-profiles/initrd-ssh')
-rw-r--r-- | system-profiles/initrd-ssh/default.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/system-profiles/initrd-ssh/default.nix b/system-profiles/initrd-ssh/default.nix index 5176234f..ef469343 100644 --- a/system-profiles/initrd-ssh/default.nix +++ b/system-profiles/initrd-ssh/default.nix | |||
@@ -3,8 +3,6 @@ | |||
3 | with lib; | 3 | with lib; |
4 | 4 | ||
5 | { | 5 | { |
6 | imports = [ ./module.nix ]; | ||
7 | |||
8 | config = { | 6 | config = { |
9 | boot.initrd = { | 7 | boot.initrd = { |
10 | network = { | 8 | network = { |
@@ -21,8 +19,8 @@ with lib; | |||
21 | }; | 19 | }; |
22 | 20 | ||
23 | secrets = with config.sops.secrets; { | 21 | secrets = with config.sops.secrets; { |
24 | "/etc/ssh/ssh_host_ed25519_key" = initrd_ssh_host_ed25519_key.path; | 22 | "/etc/ssh/ssh_host_ed25519_key" = mkForce initrd_ssh_host_ed25519_key.path; |
25 | "/etc/ssh/ssh_host_rsa_key" = initrd_ssh_host_rsa_key.path; | 23 | "/etc/ssh/ssh_host_rsa_key" = mkForce initrd_ssh_host_rsa_key.path; |
26 | }; | 24 | }; |
27 | 25 | ||
28 | extraFiles = let | 26 | extraFiles = let |