From 5115da22496d29f7a70f036c0e012b237c115b19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Schr=C3=B6ter?= Date: Mon, 8 Aug 2022 22:55:27 +0200 Subject: [PATCH] feat(hardware): change zstd compression level --- hardware/home-pc.nix | 6 +++--- hardware/rpi4.nix | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hardware/home-pc.nix b/hardware/home-pc.nix index 23a341a..786475f 100644 --- a/hardware/home-pc.nix +++ b/hardware/home-pc.nix @@ -13,7 +13,7 @@ fileSystems."/" = { device = "/dev/disk/by-uuid/5830e9b3-260b-451c-bfee-2028c64c6199"; fsType = "btrfs"; - options = [ "subvol=@" "compress-force=zstd" "noatime" ]; + options = [ "subvol=@" "compress-force=zstd:1" "noatime" ]; }; boot.initrd.luks.devices."enc".device = @@ -22,7 +22,7 @@ fileSystems."/home" = { device = "/dev/disk/by-uuid/5830e9b3-260b-451c-bfee-2028c64c6199"; fsType = "btrfs"; - options = [ "subvol=@home" "compress-force=zstd" "noatime" ]; + options = [ "subvol=@home" "compress-force=zstd:1" "noatime" ]; }; fileSystems."/.swap" = { @@ -35,7 +35,7 @@ fileSystems."/.snapshots" = { device = "/dev/disk/by-uuid/5830e9b3-260b-451c-bfee-2028c64c6199"; fsType = "btrfs"; - options = [ "subvol=@snapshots" "compress-force=zstd" "noatime" ]; + options = [ "subvol=@snapshots" "compress-force=zstd:1" "noatime" ]; }; fileSystems."/boot" = { diff --git a/hardware/rpi4.nix b/hardware/rpi4.nix index 6d43328..54e8fca 100644 --- a/hardware/rpi4.nix +++ b/hardware/rpi4.nix @@ -9,7 +9,7 @@ fileSystems."/" = { device = "/dev/disk/by-uuid/7bb1e67d-8c6f-4ace-b8e7-b09cdfd82cab"; fsType = "btrfs"; - options = [ "subvol=@" "compress-force=zstd" "noatime" ]; + options = [ "subvol=@" "compress-force=zstd:1" "noatime" ]; }; boot.initrd.luks.devices."enc".device = @@ -18,7 +18,7 @@ fileSystems."/home" = { device = "/dev/disk/by-uuid/7bb1e67d-8c6f-4ace-b8e7-b09cdfd82cab"; fsType = "btrfs"; - options = [ "subvol=@home" "compress-force=zstd" "noatime" ]; + options = [ "subvol=@home" "compress-force=zstd:1" "noatime" ]; }; fileSystems."/.swap" = { @@ -31,7 +31,7 @@ fileSystems."/.snapshots" = { device = "/dev/disk/by-uuid/7bb1e67d-8c6f-4ace-b8e7-b09cdfd82cab"; fsType = "btrfs"; - options = [ "subvol=@snapshots" "compress-force=zstd" "noatime" ]; + options = [ "subvol=@snapshots" "compress-force=zstd:1" "noatime" ]; }; fileSystems."/boot" = {