From db4e3b5fdd9121c043404b7bebe0bdf355322203 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Tue, 28 Nov 2023 00:26:25 +0800 Subject: [PATCH] feat: enable btrfs's zstd compression --- hosts/idols/ai/hardware-configuration.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/idols/ai/hardware-configuration.nix b/hosts/idols/ai/hardware-configuration.nix index 19aed106..7daed16f 100644 --- a/hosts/idols/ai/hardware-configuration.nix +++ b/hosts/idols/ai/hardware-configuration.nix @@ -62,19 +62,19 @@ fileSystems."/" = { device = "/dev/disk/by-uuid/836b93a9-324f-45e6-ac1d-964becd7520c"; fsType = "btrfs"; - options = [ "subvol=@root" ]; + options = [ "subvol=@root" "compress-force=zstd:1" ]; }; fileSystems."/nix" = { device = "/dev/disk/by-uuid/836b93a9-324f-45e6-ac1d-964becd7520c"; fsType = "btrfs"; - options = [ "subvol=@nix" "noatime" ]; + options = [ "subvol=@nix" "noatime" "compress-force=zstd:1" ]; }; fileSystems."/home" = { device = "/dev/disk/by-uuid/836b93a9-324f-45e6-ac1d-964becd7520c"; fsType = "btrfs"; - options = [ "subvol=@home" ]; + options = [ "subvol=@home" "compress-force=zstd:1" ]; }; fileSystems."/swap" =