aboutsummaryrefslogtreecommitdiff
path: root/hosts/sagittarius/ssh.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/sagittarius/ssh.nix')
-rw-r--r--hosts/sagittarius/ssh.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/hosts/sagittarius/ssh.nix b/hosts/sagittarius/ssh.nix
index 4951f3e..720f0c9 100644
--- a/hosts/sagittarius/ssh.nix
+++ b/hosts/sagittarius/ssh.nix
@@ -1,10 +1,14 @@
-{ ... }: {
+{ ... }:
+{
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
- AllowUsers = [ "ascella" "nongzhangren" ];
+ AllowUsers = [
+ "ascella"
+ "nongzhangren"
+ ];
};
};
}