parent
c43560ff95
commit
bd70062391
3 changed files with 55 additions and 6 deletions
nixosModules/server
|
@ -3,7 +3,7 @@
|
|||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (lib) mkForce mkIf;
|
||||
|
||||
cfg = config.roles.server;
|
||||
in {
|
||||
|
@ -13,7 +13,7 @@ in {
|
|||
enable = true;
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
PermitRootLogin = "no";
|
||||
PermitRootLogin = mkForce "no";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue