From 8cf080ac5019adf2e9151d17c51844278acf897b Mon Sep 17 00:00:00 2001 From: William Date: Mon, 18 Mar 2024 05:22:17 -0300 Subject: [PATCH] Compress filesystems --- hosts/desktops/io/hardware-configuration.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hosts/desktops/io/hardware-configuration.nix b/hosts/desktops/io/hardware-configuration.nix index 4e97d5e..61c687e 100644 --- a/hosts/desktops/io/hardware-configuration.nix +++ b/hosts/desktops/io/hardware-configuration.nix @@ -18,26 +18,27 @@ "/" = { device = "/dev/disk/by-uuid/3638cea6-5503-43cc-aa4f-3d37ebedad2f"; fsType = "btrfs"; - options = [ "subvol=@root" ]; + options = [ "subvol=@root" "noatime" "compress=zstd" ]; }; "/home" = { device = "/dev/disk/by-uuid/3638cea6-5503-43cc-aa4f-3d37ebedad2f"; fsType = "btrfs"; - options = [ "subvol=@home" ]; + options = [ "subvol=@home" "noatime" "compress=zstd" ]; }; "/nix" = { device = "/dev/disk/by-uuid/3638cea6-5503-43cc-aa4f-3d37ebedad2f"; fsType = "btrfs"; - options = [ "subvol=@nix" ]; + options = [ "subvol=@nix" "noatime" "compress=zstd" ]; }; "/persistent" = { device = "/dev/disk/by-uuid/3638cea6-5503-43cc-aa4f-3d37ebedad2f"; fsType = "btrfs"; - options = [ "subvol=@persistent" ]; + options = [ "subvol=@persistent" "noatime" "compress=zstd" ]; }; "/boot/efi" = { device = "/dev/disk/by-uuid/34AD-002A"; fsType = "vfat"; + options = [ "noatime" "fmask=0077" "dmask=0077" ]; }; };