final hardware.nix changes for btrfs
This commit is contained in:
parent
598d3440b4
commit
f45d11be35
1 changed files with 3 additions and 3 deletions
|
|
@ -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 =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue