From 31d935cd37552faa4f4143db0736e5269678aa93 Mon Sep 17 00:00:00 2001 From: tristan Date: Thu, 13 Apr 2023 18:39:34 +0100 Subject: [PATCH] autodefrag --- system/hardware-configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/hardware-configuration.nix b/system/hardware-configuration.nix index fd8c898..c0b0758 100644 --- a/system/hardware-configuration.nix +++ b/system/hardware-configuration.nix @@ -16,7 +16,7 @@ fileSystems."/" = { device = "/dev/disk/by-uuid/2dad5ed6-44cc-4d9d-9392-32afaa7b3909"; fsType = "btrfs"; - options = [ "subvol=@" "compress=zstd" ]; + options = [ "subvol=@" "compress=zstd" "autodefrag" ]; }; boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/cc0617df-8cbf-4618-abbc-df64c96de151"; @@ -24,7 +24,7 @@ fileSystems."/home" = { device = "/dev/disk/by-uuid/2dad5ed6-44cc-4d9d-9392-32afaa7b3909"; fsType = "btrfs"; - options = [ "subvol=@home" "compress=zstd" ]; + options = [ "subvol=@home" "compress=zstd" "autodefrag" ]; }; fileSystems."/boot" =