From 83e23db1738ef872331a4555d37bf33e1446b8b8 Mon Sep 17 00:00:00 2001 From: Asmir A Date: Wed, 20 Sep 2023 19:43:53 +0200 Subject: [PATCH] filesystem: btrfs change compression from zstd to lzo on all subvolumes --- hardware-configuration.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 9f306cc..4ea5a4b 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -20,7 +20,7 @@ fileSystems."/" = { device = "/dev/disk/by-uuid/f06ac545-07c1-4b2b-8c0b-eeac43892933"; fsType = "btrfs"; - options = ["subvol=root" "compress=zstd" "noatime"]; + options = ["subvol=root" "compress=lzo" "noatime"]; }; boot.initrd.luks.devices."sys_enc".device = "/dev/disk/by-uuid/682d030d-189e-4b47-a60a-62cf1f3729d3"; @@ -28,25 +28,25 @@ fileSystems."/home" = { device = "/dev/disk/by-uuid/f06ac545-07c1-4b2b-8c0b-eeac43892933"; fsType = "btrfs"; - options = ["subvol=home" "compress=zstd" "noatime"]; + options = ["subvol=home" "compress=lzo" "noatime"]; }; fileSystems."/nix" = { device = "/dev/disk/by-uuid/f06ac545-07c1-4b2b-8c0b-eeac43892933"; fsType = "btrfs"; - options = ["subvol=nix" "compress=zstd" "noatime"]; + options = ["subvol=nix" "compress=lzo" "noatime"]; }; fileSystems."/persist" = { device = "/dev/disk/by-uuid/f06ac545-07c1-4b2b-8c0b-eeac43892933"; fsType = "btrfs"; - options = ["subvol=persist" "compress=zstd" "noatime"]; + options = ["subvol=persist" "compress=lzo" "noatime"]; }; fileSystems."/var/log" = { device = "/dev/disk/by-uuid/f06ac545-07c1-4b2b-8c0b-eeac43892933"; fsType = "btrfs"; - options = ["subvol=log" "compress=zstd" "noatime"]; + options = ["subvol=log" "compress=lzo" "noatime"]; }; fileSystems."/boot" = {