dacbert: disable smartd, fix cachefilesd /tmp access

This commit is contained in:
Astro 2024-02-22 17:26:09 +01:00
parent c849d7c36e
commit 0493339ac1
2 changed files with 5 additions and 0 deletions

View File

@ -210,6 +210,10 @@ in
};
};
# /modules/baremetal.nix assumptions that don't make sense for netboot
services.smartd.enable = lib.mkForce false;
services.fstrim.enable = lib.mkForce true;
systemd = {
services.nix-daemon.serviceConfig = {
LimitNOFILE = lib.mkForce 8192;

View File

@ -82,4 +82,5 @@
enable = true;
cacheDir = "/tmp/fscache";
};
systemd.services.cachefilesd.serviceConfig.PrivateTmp = lib.mkForce false;
}