We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents acd6544 + 57d91c5 commit d2cce43Copy full SHA for d2cce43
nixos/modules/programs/ssh.nix
@@ -341,13 +341,13 @@ in
341
# Custom options from `extraConfig`, to override generated options
342
${cfg.extraConfig}
343
344
+ # Generated options from other settings
345
+ Host *
346
${lib.optionalString cfg.systemd-ssh-proxy.enable ''
347
# See systemd-ssh-proxy(1)
348
Include ${config.systemd.package}/lib/systemd/ssh_config.d/20-systemd-ssh-proxy.conf
349
''}
350
- # Generated options from other settings
- Host *
351
GlobalKnownHostsFile ${builtins.concatStringsSep " " knownHostsFiles}
352
353
${lib.optionalString (!config.networking.enableIPv6) "AddressFamily inet"}
0 commit comments