fix: make live-image work again

This commit is contained in:
matt1432 2024-11-22 23:25:38 -05:00
parent c43560ff95
commit bd70062391
3 changed files with 55 additions and 6 deletions
nixosModules/server

View file

@ -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";
};
};
};