🚀 disable ssh password login
This commit is contained in:
parent
442555be64
commit
6f626d77c1
1 changed files with 3 additions and 0 deletions
|
@ -76,4 +76,7 @@
|
|||
];
|
||||
};
|
||||
security.sudo.enable = lib.mkDefault (!config.security.doas.enable);
|
||||
|
||||
# Disable ssh password login
|
||||
services.openssh.passwordAuthentication = config.services.openssh.enable;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue