we do periodic fstrim

This commit is contained in:
Christoph Cullmann 2024-11-04 21:08:15 +01:00
parent d0fe81a312
commit 03e498dd28
No known key found for this signature in database

View file

@ -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;
};