dacbert: disable smartd, fix cachefilesd /tmp access
This commit is contained in:
parent
c849d7c36e
commit
0493339ac1
|
@ -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 = {
|
systemd = {
|
||||||
services.nix-daemon.serviceConfig = {
|
services.nix-daemon.serviceConfig = {
|
||||||
LimitNOFILE = lib.mkForce 8192;
|
LimitNOFILE = lib.mkForce 8192;
|
||||||
|
|
|
@ -82,4 +82,5 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
cacheDir = "/tmp/fscache";
|
cacheDir = "/tmp/fscache";
|
||||||
};
|
};
|
||||||
|
systemd.services.cachefilesd.serviceConfig.PrivateTmp = lib.mkForce false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue