🚀 disable ssh password login

dev-docs
Moritz Böhme 2022-01-09 14:02:52 +01:00
parent 442555be64
commit 6f626d77c1
1 changed files with 3 additions and 0 deletions

View File

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