BTRFS compression

This commit is contained in:
Daniel Langbein 2023-08-28 13:11:29 +02:00
parent 8b9ed21554
commit 073c854660

View File

@ -16,7 +16,9 @@
fileSystems."/" =
{ device = "/dev/disk/by-uuid/f87e6b3c-12f2-4fda-92b3-06b07bdad58f";
fsType = "btrfs";
options = [ "subvol=@" ];
# Manually enable compression
# https://nixos.wiki/wiki/Btrfs#Compression
options = [ "subvol=@" "compress=zstd" ];
};
boot.initrd.luks.devices."luks-ba8b94d0-7f70-496a-ad87-eadc5e852aad".device = "/dev/disk/by-uuid/ba8b94d0-7f70-496a-ad87-eadc5e852aad";