add compression and caching to btrfs (#1)

see https://btrfs.readthedocs.io/en/latest/Administration.html#mount-options

Co-authored-by: tristan <tristan@tristans.cloud>
Reviewed-on: #1
This commit is contained in:
Tristan 2023-04-13 17:06:27 +00:00
parent 656bfe674b
commit b266526e05

View file

@ -16,7 +16,7 @@
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/2dad5ed6-44cc-4d9d-9392-32afaa7b3909"; { device = "/dev/disk/by-uuid/2dad5ed6-44cc-4d9d-9392-32afaa7b3909";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@" ]; options = [ "subvol=@" "compress=zstd" ];
}; };
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/cc0617df-8cbf-4618-abbc-df64c96de151"; boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/cc0617df-8cbf-4618-abbc-df64c96de151";
@ -24,7 +24,7 @@
fileSystems."/home" = fileSystems."/home" =
{ device = "/dev/disk/by-uuid/2dad5ed6-44cc-4d9d-9392-32afaa7b3909"; { device = "/dev/disk/by-uuid/2dad5ed6-44cc-4d9d-9392-32afaa7b3909";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@home" ]; options = [ "subvol=@home" "compress=zstd" ];
}; };
fileSystems."/boot" = fileSystems."/boot" =