Disable nscd daemon too
This commit is contained in:
parent
e02d5a3999
commit
1c95d96519
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user