]> git.dkaiser.de - config/nixos.git/commitdiff
Disable ssh password login on antares
authorDominik Kaiser <dominik-kaiser@mailbox.org>
Sun, 16 Feb 2025 10:27:57 +0000 (11:27 +0100)
committerDominik Kaiser <dominik-kaiser@mailbox.org>
Sun, 16 Feb 2025 10:27:57 +0000 (11:27 +0100)
hosts/antares/configuration.nix

index a32bb61f90cde7325ce4965654a47209b0bdb166..6e05e7507274fe3d3942c8f7b880af614c55ff02 100644 (file)
@@ -17,6 +17,7 @@
     efiInstallAsRemovable = true;
   };
   services.openssh.enable = true;
+  services.openssh.passwordAuthentication = false;
 
   networking.hostName = "antares";
   time.timeZone = "Europe/Berlin";