resolved: don't do negative caching

This commit is contained in:
Sandro - 2024-04-28 02:24:15 +02:00
parent 75fc467d35
commit bb7f8e95dc
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 4 additions and 0 deletions

View File

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