From 1c95d96519f4715384d0f0dfcdf8eacb477de3e6 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 30 Aug 2024 23:07:15 +0200 Subject: [PATCH] Disable nscd daemon too --- lagarto-ox.nix | 6 ++++++ 1 file changed, 6 insertions(+) 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 {