about summary refs log tree commit diff
path: root/nix/hardware-configuration.nix
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-11-07 23:03:10 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-11-07 23:03:10 +0700
commita6d13025b22c949342a6dc619e7d0cfe5ddb9dcc (patch)
treef4ce863c1283ab20ca8f6252dab6981a6dc92f22 /nix/hardware-configuration.nix
parent557705fc88fc0405d8f79bb15cbf0679e168cf6c (diff)
downloaddotfiles-a6d13025b22c949342a6dc619e7d0cfe5ddb9dcc.tar.gz
Force btrfs compression
Diffstat (limited to 'nix/hardware-configuration.nix')
-rw-r--r--nix/hardware-configuration.nix10
1 files changed, 5 insertions, 5 deletions
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;
     };
   };