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/virtualisation/openstack-config.nix | |
parent | 6dccdc458512abce8d19f74195bb20fdb067df50 (diff) | |
download | nixpkgs-cf10d7aef8ff9ca0e178e87981d9e4fd3018193c.tar nixpkgs-cf10d7aef8ff9ca0e178e87981d9e4fd3018193c.tar.gz nixpkgs-cf10d7aef8ff9ca0e178e87981d9e4fd3018193c.tar.bz2 nixpkgs-cf10d7aef8ff9ca0e178e87981d9e4fd3018193c.tar.lz nixpkgs-cf10d7aef8ff9ca0e178e87981d9e4fd3018193c.tar.xz nixpkgs-cf10d7aef8ff9ca0e178e87981d9e4fd3018193c.tar.zst nixpkgs-cf10d7aef8ff9ca0e178e87981d9e4fd3018193c.zip |
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/virtualisation/openstack-config.nix')
-rw-r--r-- | nixos/modules/virtualisation/openstack-config.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/virtualisation/openstack-config.nix b/nixos/modules/virtualisation/openstack-config.nix index af4f5746610..0ef7a3b5010 100644 --- a/nixos/modules/virtualisation/openstack-config.nix +++ b/nixos/modules/virtualisation/openstack-config.nix @@ -59,8 +59,8 @@ in # Allow root logins services.openssh = { enable = true; - permitRootLogin = "prohibit-password"; - passwordAuthentication = mkDefault false; + settings.PermitRootLogin = "prohibit-password"; + settings.PasswordAuthentication = mkDefault false; }; users.users.root.initialPassword = "foobar"; |