summaryrefslogtreecommitdiff
path: root/system-profiles/initrd-ssh/module.nix
diff options
context:
space:
mode:
Diffstat (limited to 'system-profiles/initrd-ssh/module.nix')
-rw-r--r--system-profiles/initrd-ssh/module.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/system-profiles/initrd-ssh/module.nix b/system-profiles/initrd-ssh/module.nix
index 9ea469b2..18a50cbf 100644
--- a/system-profiles/initrd-ssh/module.nix
+++ b/system-profiles/initrd-ssh/module.nix
@@ -122,13 +122,13 @@ in
122 HostKey ${initrdKeyPath path} 122 HostKey ${initrdKeyPath path}
123 '')} 123 '')}
124 124
125 KexAlgorithms ${concatStringsSep "," sshdCfg.kexAlgorithms} 125 KexAlgorithms ${concatStringsSep "," sshdCfg.settings.KexAlgorithms}
126 Ciphers ${concatStringsSep "," sshdCfg.ciphers} 126 Ciphers ${concatStringsSep "," sshdCfg.settings.Ciphers}
127 MACs ${concatStringsSep "," sshdCfg.macs} 127 MACs ${concatStringsSep "," sshdCfg.settings.Macs}
128 128
129 LogLevel ${sshdCfg.logLevel} 129 LogLevel ${sshdCfg.settings.LogLevel}
130 130
131 ${if sshdCfg.useDns then '' 131 ${if sshdCfg.settings.UseDns then ''
132 UseDNS yes 132 UseDNS yes
133 '' else '' 133 '' else ''
134 UseDNS no 134 UseDNS no