summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/antares/configuration.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/hosts/antares/configuration.nix b/hosts/antares/configuration.nix
index 8d7be14..2127d01 100644
--- a/hosts/antares/configuration.nix
+++ b/hosts/antares/configuration.nix
@@ -18,8 +18,10 @@
};
services.openssh = {
enable = true;
- passwordAuthentication = false;
- permitRootLogin = false;
+ settings = {
+ PasswordAuthentication = false;
+ PermitRootLogin = "no";
+ };
};
networking.hostName = "antares";