Filesystem : Add noatime to all drives.
This commit is contained in:
parent
195f1a774a
commit
bec83905d4
|
@ -2,12 +2,12 @@
|
|||
fileSystems."/storage/hot" = {
|
||||
device = "/dev/storage/hot";
|
||||
fsType = "ext4";
|
||||
options = [ "nofail" ];
|
||||
options = [ "nofail" "noatime" ];
|
||||
};
|
||||
|
||||
fileSystems."/storage/cold" = {
|
||||
device = "/dev/storage/cold";
|
||||
fsType = "ext4";
|
||||
options = [ "nofail" ];
|
||||
options = [ "nofail" "noatime" ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,18 +2,18 @@
|
|||
fileSystems."/storage/hot" = {
|
||||
device = "/dev/storage/hot";
|
||||
fsType = "ext4";
|
||||
options = [ "nofail" ];
|
||||
options = [ "noatime" "nofail" ];
|
||||
};
|
||||
|
||||
fileSystems."/storage/cold_1" = {
|
||||
device = "/dev/storage/cold_1";
|
||||
fsType = "ext4";
|
||||
options = [ "noauto" "nofail" ];
|
||||
options = [ "noatime" "noauto" "nofail" ];
|
||||
};
|
||||
|
||||
fileSystems."/storage/cold_2" = {
|
||||
device = "/dev/storage/cold_2";
|
||||
fsType = "ext4";
|
||||
options = [ "noauto" "nofail" ];
|
||||
options = [ "noatime" "noauto" "nofail" ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,18 +2,18 @@
|
|||
fileSystems."/storage/cold_1" = {
|
||||
device = "/dev/storage/cold_1";
|
||||
fsType = "ext4";
|
||||
options = [ "nofail" ];
|
||||
options = [ "nofail" "noatime" ];
|
||||
};
|
||||
|
||||
fileSystems."/storage/cold_2" = {
|
||||
device = "/dev/storage/cold_2";
|
||||
fsType = "ext4";
|
||||
options = [ "nofail" ];
|
||||
options = [ "nofail" "noatime" ];
|
||||
};
|
||||
|
||||
fileSystems."/storage/hot" = {
|
||||
device = "/dev/storage/hot";
|
||||
fsType = "ext4";
|
||||
options = [ "nofail" ];
|
||||
options = [ "nofail" "noatime" ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
fileSystems."/storage/hot" = {
|
||||
device = "/dev/storage/hot";
|
||||
fsType = "ext4";
|
||||
options = [ "nofail" ];
|
||||
options = [ "noatime" "nofail" ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{ ... }: {
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-partlabel/NIXROOT";
|
||||
fsType = "ext4";
|
||||
device = "/dev/disk/by-partlabel/NIXROOT";
|
||||
fsType = "ext4";
|
||||
options = [ "noatime" ];
|
||||
};
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-partlabel/NIXBOOT";
|
||||
|
|
Loading…
Reference in a new issue