resolved: don't do negative caching
This commit is contained in:
parent
75fc467d35
commit
bb7f8e95dc
|
@ -72,6 +72,10 @@
|
|||
services = {
|
||||
# just assume there are ssd's everywhere
|
||||
fstrim.enable = true;
|
||||
resolved.extraConfig = /* systemd */ ''
|
||||
# don't cache NXDOMAIN which often happened for nix-cache.hq.c3d2.de after a restart
|
||||
Cache=no-negative
|
||||
'';
|
||||
smartd.enable = true;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue