fix(fs): add noatime option
This commit is contained in:
parent
3703e8a903
commit
a2822c0752
|
@ -6,5 +6,6 @@ in mkIf (cfg.type == "ext4") {
|
||||||
fileSystems."/nix" =
|
fileSystems."/nix" =
|
||||||
{ device = "/dev/disk/by-uuid/${cfg.store}";
|
{ device = "/dev/disk/by-uuid/${cfg.store}";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
|
options = [ "noatime" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,5 +7,6 @@ in mkIf (cfg.type == "xfs") {
|
||||||
fileSystems."/nix" =
|
fileSystems."/nix" =
|
||||||
{ device = "/dev/disk/by-uuid/${cfg.store}";
|
{ device = "/dev/disk/by-uuid/${cfg.store}";
|
||||||
fsType = "xfs";
|
fsType = "xfs";
|
||||||
|
options = [ "noatime" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue