diff options
-rw-r--r-- | modules/services/zeroconf.nix | 2 | ||||
-rw-r--r-- | modules/user-interface.nix | 10 |
2 files changed, 10 insertions, 2 deletions
diff --git a/modules/services/zeroconf.nix b/modules/services/zeroconf.nix index 8eb01fbe..0b428c54 100644 --- a/modules/services/zeroconf.nix +++ b/modules/services/zeroconf.nix @@ -2,7 +2,7 @@ { services.avahi = { enable = true; - nssmdns = false; + nssmdns = true; ipv6 = true; }; systemd.services.avahi-daemon.wantedBy = lib.mkForce []; diff --git a/modules/user-interface.nix b/modules/user-interface.nix index 348abd7d..b0d4d9d2 100644 --- a/modules/user-interface.nix +++ b/modules/user-interface.nix @@ -56,7 +56,15 @@ in environment.sessionVariables.TERMINAL = "mlterm"; - services.nscd.enable = false; + services.nscd.enable = true; + systemd.services.nscd.wantedBy = lib.mkForce []; + systemd.timers.nscd = { + description = "Delayed startup of nscd"; + wantedBy = [ "timers.target" ]; + timerConfig = { + OnActiveSec = "1 min"; + }; + }; services.emacs = { enable = true; |