final hardware.nix changes for btrfs

This commit is contained in:
TheK0tYaRa 2026-02-25 16:05:38 +02:00
parent 598d3440b4
commit f45d11be35

View file

@ -27,19 +27,19 @@
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-label/NVME_BTRFS"; { device = "/dev/disk/by-label/NVME_BTRFS";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=root" ]; options = [ "subvol=root" "compress=zstd:1" "noatime" "discard=async" ];
}; };
fileSystems."/home" = fileSystems."/home" =
{ device = "/dev/disk/by-label/NVME_BTRFS"; { device = "/dev/disk/by-label/NVME_BTRFS";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=home" ]; options = [ "subvol=home" "compress=zstd:1" "noatime" "discard=async" ];
}; };
fileSystems."/nix" = fileSystems."/nix" =
{ device = "/dev/disk/by-label/NVME_BTRFS"; { device = "/dev/disk/by-label/NVME_BTRFS";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=nix" ]; options = [ "subvol=nix" "compress=zstd:1" "noatime" "discard=async" ];
}; };
swapDevices = swapDevices =