add dns cahce

This commit is contained in:
insert 2024-10-25 16:25:18 -04:00
parent 19771ba1f4
commit 048208711a
Signed by: insert
GPG key ID: A70775C389ACF105

View file

@ -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;