🚀 disable ssh password login

This commit is contained in:
Moritz Böhme 2022-01-09 14:02:52 +01:00
parent 442555be64
commit 6f626d77c1

View file

@ -76,4 +76,7 @@
]; ];
}; };
security.sudo.enable = lib.mkDefault (!config.security.doas.enable); security.sudo.enable = lib.mkDefault (!config.security.doas.enable);
# Disable ssh password login
services.openssh.passwordAuthentication = config.services.openssh.enable;
} }