diff --git a/configuration.nix b/configuration.nix index 32e2b55..7829dfa 100644 --- a/configuration.nix +++ b/configuration.nix @@ -319,6 +319,35 @@ trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="]; }; + services.nscd.config = '' + server-user nscd + + enable-cache passwd yes + positive-time-to-live passwd 900 + negative-time-to-live passwd 0 + shared passwd yes + + enable-cache group yes + positive-time-to-live group 900 + negative-time-to-live group 0 + shared group yes + + enable-cache netgroup yes + positive-time-to-live netgroup 900 + negative-time-to-live netgroup 0 + shared netgroup yes + + enable-cache hosts yes + positive-time-to-live hosts 900 + negative-time-to-live hosts 0 + shared hosts yes + + enable-cache services yes + positive-time-to-live services 900 + negative-time-to-live services 0 + shared services yes +''; + programs.hyprland = { enable = false; #enableNvidiaPatches = true;