nixos/ephemeral: Enable automatic defragmentation

This commit is contained in:
Mikael 2024-10-18 19:34:04 +02:00
parent 8aa858a33e
commit d4f01808ec
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

@ -118,7 +118,7 @@ let
options = [ "nodev" "noexec" "nosuid" ]; options = [ "nodev" "noexec" "nosuid" ];
}; };
} |> lib.mapAttrs (name: subvol: subvol // { } |> lib.mapAttrs (name: subvol: subvol // {
extraOptions = [ "noatime" "compress=zstd" ]; extraOptions = [ "noatime" "autodefrag" "compress=zstd" ];
}); });
in { in {
options = { options = {