all repos — nixfiles @ ed7e95ef79e2b754047390f93e11733291775cf1

System and user configuration, managed by nix and home-manager

Speedup boot by disabling nscd

Seems odd, but it slows down network-manager by 10s
Alan Pearce alan@alanpearce.eu
Sun, 29 Apr 2018 19:14:40 +0200
commit

ed7e95ef79e2b754047390f93e11733291775cf1

parent

05571aa5ed5eb898be468bff237657914f7e9dcf

2 files changed, 3 insertions(+), 1 deletions(-)

jump to
M modules/services/zeroconf.nixmodules/services/zeroconf.nix
@@ -2,7 +2,7 @@ { config, pkgs, lib, ... }: 
 { services.avahi = {
     enable = true;
-    nssmdns = true;
+    nssmdns = false;
     ipv6 = true;
   };
   systemd.services.avahi-daemon.wantedBy = lib.mkForce [];
M modules/user-interface.nixmodules/user-interface.nix
@@ -56,6 +56,8 @@ services.devmon.enable = true; 
   environment.sessionVariables.TERMINAL = "mlterm";
 
+  services.nscd.enable = false;
+
   services.emacs = {
     enable = true;
     defaultEditor = true;