From a6d13025b22c949342a6dc619e7d0cfe5ddb9dcc Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sun, 7 Nov 2021 23:03:10 +0700 Subject: Force btrfs compression --- nix/hardware-configuration.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'nix/hardware-configuration.nix') diff --git a/nix/hardware-configuration.nix b/nix/hardware-configuration.nix index 63c0801..5af5d36 100644 --- a/nix/hardware-configuration.nix +++ b/nix/hardware-configuration.nix @@ -33,31 +33,31 @@ "/nix" = { device = "/dev/disk/by-uuid/c334d115-eda9-4470-8c28-b01c4628865b"; fsType = "btrfs"; - options = [ "subvol=nix" "compress=zstd" "noatime" ]; + options = [ "subvol=nix" "compress-force=zstd" "noatime" ]; }; "/etc" = { device = "/dev/disk/by-uuid/c334d115-eda9-4470-8c28-b01c4628865b"; fsType = "btrfs"; - options = [ "subvol=etc" "compress=zstd" "noatime" ]; + options = [ "subvol=etc" "compress-force=zstd" "noatime" ]; }; "/root" = { device = "/dev/disk/by-uuid/c334d115-eda9-4470-8c28-b01c4628865b"; fsType = "btrfs"; - options = [ "subvol=root" "compress=zstd" "noatime" ]; + options = [ "subvol=root" "compress-force=zstd" "noatime" ]; }; "/home" = { device = "/dev/disk/by-uuid/c334d115-eda9-4470-8c28-b01c4628865b"; fsType = "btrfs"; - options = [ "subvol=home" "compress=zstd" ]; + options = [ "subvol=home" "compress-force=zstd" ]; }; "/var/log" = { device = "/dev/disk/by-uuid/c334d115-eda9-4470-8c28-b01c4628865b"; fsType = "btrfs"; - options = [ "subvol=log" "compress=zstd" ]; + options = [ "subvol=log" "compress-force=zstd" ]; neededForBoot = true; }; }; -- cgit 1.4.1