cache removed again
This commit is contained in:
+5
-5
@@ -2,15 +2,15 @@
|
|||||||
# Add NFS support to the initramfs so it can be mounted at boot.
|
# Add NFS support to the initramfs so it can be mounted at boot.
|
||||||
boot.supportedFilesystems = [ "nfs" ];
|
boot.supportedFilesystems = [ "nfs" ];
|
||||||
|
|
||||||
services.cachefilesd = {
|
# services.cachefilesd = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
cacheDir = "/data/cache";
|
# cacheDir = "/data/cache";
|
||||||
};
|
# };
|
||||||
|
|
||||||
systemd.mounts = [{
|
systemd.mounts = [{
|
||||||
type = "nfs";
|
type = "nfs";
|
||||||
mountConfig = {
|
mountConfig = {
|
||||||
Options = "noatime,fsc";
|
Options = "noatime";
|
||||||
};
|
};
|
||||||
what = "${config.vars.nfs_server}:${config.vars.nfs_volume}";
|
what = "${config.vars.nfs_server}:${config.vars.nfs_volume}";
|
||||||
where = config.vars.nfs_mount;
|
where = config.vars.nfs_mount;
|
||||||
|
|||||||
Reference in New Issue
Block a user