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/tests/btrbk.nix | |
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/tests/btrbk.nix')
-rw-r--r-- | nixos/tests/btrbk.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nixos/tests/btrbk.nix b/nixos/tests/btrbk.nix index 9f34f7dfbe38f..5261321dfa2c5 100644 --- a/nixos/tests/btrbk.nix +++ b/nixos/tests/btrbk.nix @@ -52,8 +52,10 @@ import ./make-test-python.nix ({ pkgs, ... }: environment.systemPackages = with pkgs; [ btrfs-progs ]; services.openssh = { enable = true; - passwordAuthentication = false; - kbdInteractiveAuthentication = false; + settings = { + KbdInteractiveAuthentication = false; + PasswordAuthentication = false; + }; }; services.btrbk = { extraPackages = [ pkgs.lz4 ]; |