all repos — nixfiles @ e261ccaf3755d26f0af318e1b5775da0f7bee94f

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

Enable zeroconf name resolution Required nscd, which slows down the boot process, so make that a delayed-start service

Alan Pearce
commit

e261ccaf3755d26f0af318e1b5775da0f7bee94f

parent

106542e052137ba632402276e1621bc16a3ab907

2 files changed, 10 insertions(+), 2 deletions(-)

jump to
M modules/services/zeroconf.nixmodules/services/zeroconf.nix
@@ -2,7 +2,7 @@ { config, pkgs, lib, ... }:
{ services.avahi = { enable = true; - nssmdns = false; + nssmdns = true; ipv6 = true; }; systemd.services.avahi-daemon.wantedBy = lib.mkForce [];
M modules/user-interface.nixmodules/user-interface.nix
@@ -56,7 +56,15 @@ services.devmon.enable = true;
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;