diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2023-12-07 20:32:45 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2023-12-07 20:32:45 +0100 |
commit | da6a7d5c69aa3e8b70755e88be0f44b642422114 (patch) | |
tree | bb64c8f76a0655b0967d73d7de3541fe2825aa57 /system-profiles/initrd-ssh | |
parent | 26ba0280e38648a787a5ef60807f91765c40d1d5 (diff) | |
download | nixos-da6a7d5c69aa3e8b70755e88be0f44b642422114.tar nixos-da6a7d5c69aa3e8b70755e88be0f44b642422114.tar.gz nixos-da6a7d5c69aa3e8b70755e88be0f44b642422114.tar.bz2 nixos-da6a7d5c69aa3e8b70755e88be0f44b642422114.tar.xz nixos-da6a7d5c69aa3e8b70755e88be0f44b642422114.zip |
bump
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 |