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/borgbackup.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/borgbackup.nix')
-rw-r--r-- | nixos/tests/borgbackup.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nixos/tests/borgbackup.nix b/nixos/tests/borgbackup.nix index 9afe4d537da44..4160e727f047b 100644 --- a/nixos/tests/borgbackup.nix +++ b/nixos/tests/borgbackup.nix @@ -117,8 +117,10 @@ in { server = { ... }: { services.openssh = { enable = true; - passwordAuthentication = false; - kbdInteractiveAuthentication = false; + settings = { + PasswordAuthentication = false; + KbdInteractiveAuthentication = false; + }; }; services.borgbackup.repos.repo1 = { |