add dns cahce
This commit is contained in:
parent
19771ba1f4
commit
048208711a
1 changed files with 29 additions and 0 deletions
|
@ -319,6 +319,35 @@
|
||||||
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
|
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 = {
|
programs.hyprland = {
|
||||||
enable = false;
|
enable = false;
|
||||||
#enableNvidiaPatches = true;
|
#enableNvidiaPatches = true;
|
||||||
|
|
Loading…
Reference in a new issue