btrfs use zstd for compression

This commit is contained in:
Yorick Barbanneau 2023-09-12 21:45:15 +02:00
parent 6123f744b0
commit 14cb921208
3 changed files with 9 additions and 9 deletions

View file

@ -13,11 +13,11 @@
boot.kernelModules = [ "kvm-intel" "i915" ];
boot.extraModulePackages = [ ];
boot.kernelParams = ["fbcon=rotate:1" "video=eDP-1:panel_orientation=right_side_up"];
boot.loader.systemd-boot.consoleMode = "max";
fileSystems."/" =
{ device = "/dev/disk/by-uuid/d28d59b0-a44d-4b17-9338-2ca69a1efca7";
fsType = "btrfs";
options = [ "subvol=root" ];
options = [ "subvol=root" "compress=zstd"];
};
boot.initrd.luks.devices."nixos".device = "/dev/disk/by-uuid/ad4fa799-214c-4e5e-996a-8776e010fb2f";
@ -25,13 +25,13 @@
fileSystems."/nix" =
{ device = "/dev/disk/by-uuid/d28d59b0-a44d-4b17-9338-2ca69a1efca7";
fsType = "btrfs";
options = [ "subvol=nix" ];
options = [ "subvol=nix" "compress=zstd" ];
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/d28d59b0-a44d-4b17-9338-2ca69a1efca7";
fsType = "btrfs";
options = [ "subvol=home" ];
options = [ "subvol=home" "compress=zstd" ];
};
fileSystems."/boot" =