diff --git a/lagarto-ox.nix b/lagarto-ox.nix index 142698b..391532a 100644 --- a/lagarto-ox.nix +++ b/lagarto-ox.nix @@ -13,6 +13,8 @@ #services.haveged.enable = true; services.jitterentropy-rngd.enable = true; + + # Prevent executing the nscd program as it seems to hang the CPU system.activationScripts.users = lib.mkForce ( let cfg = config.users; @@ -42,6 +44,10 @@ } else "" # keep around for backwards compatibility ); + # Also disable the nscd daemon + services.nscd.enable = false; + system.nssModules = lib.mkForce []; # Required + system.build.bootStage2 = let useHostResolvConf = config.networking.resolvconf.enable && config.networking.useHostResolvConf; bootStage2 = pkgs.substituteAll {