From 9dbfb4eaaad89ca31623f5b37a04c7b5a73d9e68 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Sun, 2 Jul 2023 17:12:55 +0200 Subject: [PATCH] flora-6: use renamed openssh settings trace: warning: The option `services.openssh.permitRootLogin' defined in `/nix/store/ha98lp4l8ccspyfn5liq0k9ds3cs20zl-source/hosts/flora-6/flora-6.nix' has been renamed to `services.openssh.settings.PermitRootLogin'. trace: warning: The option `services.openssh.passwordAuthentication' defined in `/nix/store/ha98lp4l8ccspyfn5liq0k9ds3cs20zl-source/hosts/flora-6/flora-6.nix' has been renamed to `services.openssh.settings.PasswordAuthentication'. --- hosts/flora-6/flora-6.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts/flora-6/flora-6.nix b/hosts/flora-6/flora-6.nix index 6e376e4f..55e88da7 100644 --- a/hosts/flora-6/flora-6.nix +++ b/hosts/flora-6/flora-6.nix @@ -136,8 +136,10 @@ in { # Enable the OpenSSH daemon. services.openssh = { enable = true; - passwordAuthentication = false; - permitRootLogin = "no"; + settings = { + PasswordAuthentication = false; + PermitRootLogin = "no"; + }; }; # We manage the firewall with nix, too