From f45d11be352645ad56947c14fb6649c48eb5b735 Mon Sep 17 00:00:00 2001 From: TheK0tYaRa Date: Wed, 25 Feb 2026 16:05:38 +0200 Subject: [PATCH] final hardware.nix changes for btrfs --- hardware-configuration.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 7a3d8ec..25fe3ea 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -27,19 +27,19 @@ fileSystems."/" = { device = "/dev/disk/by-label/NVME_BTRFS"; fsType = "btrfs"; - options = [ "subvol=root" ]; + options = [ "subvol=root" "compress=zstd:1" "noatime" "discard=async" ]; }; fileSystems."/home" = { device = "/dev/disk/by-label/NVME_BTRFS"; fsType = "btrfs"; - options = [ "subvol=home" ]; + options = [ "subvol=home" "compress=zstd:1" "noatime" "discard=async" ]; }; fileSystems."/nix" = { device = "/dev/disk/by-label/NVME_BTRFS"; fsType = "btrfs"; - options = [ "subvol=nix" ]; + options = [ "subvol=nix" "compress=zstd:1" "noatime" "discard=async" ]; }; swapDevices =