we do periodic fstrim
This commit is contained in:
parent
d0fe81a312
commit
03e498dd28
|
@ -78,7 +78,7 @@ in
|
|||
fileSystems."/data" = {
|
||||
device = "/dev/mapper/crypt-system";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=data" "noatime" ];
|
||||
options = [ "subvol=data" "noatime" "nodiscard" ];
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
|
@ -86,7 +86,7 @@ in
|
|||
fileSystems."/nix" = {
|
||||
device = "/dev/mapper/crypt-system";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=nix" "noatime" ];
|
||||
options = [ "subvol=nix" "noatime" "nodiscard" ];
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
|
@ -94,7 +94,7 @@ in
|
|||
fileSystems."/tmp" = {
|
||||
device = "/dev/mapper/crypt-system";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=tmp" "noatime" ];
|
||||
options = [ "subvol=tmp" "noatime" "nodiscard" ];
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue