summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorAlan Pearce2018-04-29 19:14:40 +0200
committerAlan Pearce2018-04-29 19:14:40 +0200
commited7e95ef79e2b754047390f93e11733291775cf1 (patch)
tree3af960fc4dd5fbc9fc048da7c7d2f22875b5a50b /modules
parent05571aa5ed5eb898be468bff237657914f7e9dcf (diff)
downloadnixfiles-ed7e95ef79e2b754047390f93e11733291775cf1.tar.lz
nixfiles-ed7e95ef79e2b754047390f93e11733291775cf1.tar.zst
nixfiles-ed7e95ef79e2b754047390f93e11733291775cf1.zip
Speedup boot by disabling nscd
Seems odd, but it slows down network-manager by 10s
Diffstat (limited to 'modules')
-rw-r--r--modules/services/zeroconf.nix2
-rw-r--r--modules/user-interface.nix2
2 files changed, 3 insertions, 1 deletions
diff --git a/modules/services/zeroconf.nix b/modules/services/zeroconf.nix
index 0b428c54..8eb01fbe 100644
--- a/modules/services/zeroconf.nix
+++ b/modules/services/zeroconf.nix
@@ -2,7 +2,7 @@
 
 { services.avahi = {
     enable = true;
-    nssmdns = true;
+    nssmdns = false;
     ipv6 = true;
   };
   systemd.services.avahi-daemon.wantedBy = lib.mkForce [];
diff --git a/modules/user-interface.nix b/modules/user-interface.nix
index eecf4e5c..348abd7d 100644
--- a/modules/user-interface.nix
+++ b/modules/user-interface.nix
@@ -56,6 +56,8 @@ in
 
   environment.sessionVariables.TERMINAL = "mlterm";
 
+  services.nscd.enable = false;
+
   services.emacs = {
     enable = true;
     defaultEditor = true;