diff options
author | Matthieu Coudron <teto@users.noreply.github.com> | 2023-01-15 16:32:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-15 16:32:46 +0100 |
commit | cf10d7aef8ff9ca0e178e87981d9e4fd3018193c (patch) | |
tree | 633e4d0e9ab445d1675e2b002dd29689cdf5e01d /nixos/modules/profiles | |
parent | 6dccdc458512abce8d19f74195bb20fdb067df50 (diff) |
services.openssh: support freeform settings (#193757)
* services.openssh: support freeform settings
Keep "extraConfig" but introduces "settings".
Also renames several options
(mkRenamedOptionModule [ "services" "openssh" "kbdInteractiveAuthentication" ] [ "services" "openssh" "settings" "KbdInteractiveAuthentication" ])
(mkRenamedOptionModule [ "services" "openssh" "passwordAuthentication" ] [ "services" "openssh" "settings" "PasswordAuthentication" ])
(mkRenamedOptionModule [ "services" "openssh" "useDns" ] [ "services" "openssh" "settings" "UseDns" ])
(mkRenamedOptionModule [ "services" "openssh" "permitRootLogin" ] [ "services" "openssh" "settings" "PermitRootLogin" ])
* updated doc
* regen doc
Diffstat (limited to 'nixos/modules/profiles')
-rw-r--r-- | nixos/modules/profiles/installation-device.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/profiles/installation-device.nix b/nixos/modules/profiles/installation-device.nix index 4d9bd69666c0..980720691a43 100644 --- a/nixos/modules/profiles/installation-device.nix +++ b/nixos/modules/profiles/installation-device.nix @@ -72,7 +72,7 @@ with lib; # mounting the storage in a different system. services.openssh = { enable = true; - permitRootLogin = "yes"; + settings.PermitRootLogin = "yes"; }; # Enable wpa_supplicant, but don't start it by default. |