about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2023-03-30T16·22+0200
committerclbot <clbot@tvl.fyi>2023-04-11T14·29+0000
commitfaa45f076dd84c6c8b288cc8d518e9711f04b036 (patch)
tree4bcce8b7144636e10404f85f761e2a5ec4007b04 /users
parentcf32ab1c9cde062fe7f84d30feefccb1ab45c9c2 (diff)
chore: adapt to ssh option renames r/6094
Change-Id: I6fc2aaefe40e449bd1937bb68f3a2ab4abaa5cd0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8372
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users')
-rw-r--r--users/grfn/system/system/machines/mugwump.nix6
-rw-r--r--users/grfn/system/system/machines/roswell.nix2
2 files changed, 5 insertions, 3 deletions
diff --git a/users/grfn/system/system/machines/mugwump.nix b/users/grfn/system/system/machines/mugwump.nix
index f5b3176ca2fd..138383484fb6 100644
--- a/users/grfn/system/system/machines/mugwump.nix
+++ b/users/grfn/system/system/machines/mugwump.nix
@@ -102,8 +102,10 @@ with lib;
 
   services.openssh = {
     allowSFTP = false;
-    passwordAuthentication = false;
-    permitRootLogin = "no";
+    settings = {
+      PasswordAuthentication = false;
+      PermitRootLogin = "no";
+    };
   };
 
   services.grafana = {
diff --git a/users/grfn/system/system/machines/roswell.nix b/users/grfn/system/system/machines/roswell.nix
index efdf90dfefba..bd3d0a1dfd5c 100644
--- a/users/grfn/system/system/machines/roswell.nix
+++ b/users/grfn/system/system/machines/roswell.nix
@@ -19,7 +19,7 @@
   boot.loader.systemd-boot.enable = lib.mkForce false;
   boot.loader.efi.canTouchEfiVariables = lib.mkForce false;
 
-  services.openssh.passwordAuthentication = false;
+  services.openssh.settings.PasswordAuthentication = false;
 
   services.tailscale.enable = true;