summaryrefslogtreecommitdiff
path: root/nixos/hosts/apocalypse/hardware-configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--nixos/hosts/apocalypse/hardware-configuration.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/nixos/hosts/apocalypse/hardware-configuration.nix b/nixos/hosts/apocalypse/hardware-configuration.nix
index f611cd6..1133dc6 100644
--- a/nixos/hosts/apocalypse/hardware-configuration.nix
+++ b/nixos/hosts/apocalypse/hardware-configuration.nix
@@ -28,14 +28,20 @@ menuentry 'UEFI Firmware' $menuentry_id_option 'uefi-firmware' {
fileSystems."/" =
{ device = "/dev/mapper/cryptroot";
fsType = "btrfs";
- options = [ "subvol=@root" ];
+ options = [ "subvol=@root" "compress=zstd" ];
};
+ fileSystems."/btrfs_root" = {
+ device = "/dev/mapper/cryptroot";
+ fsType = "btrfs"
+ options = [ "subvolid=5", "compress=zstd"]
+ };
+
fileSystems."/snapshots" =
{ device = "/dev/mapper/cryptroot";
fsType = "btrfs";
- options = [ "subvol=@snapshots" ];
+ options = [ "subvol=@snapshots" "compress=zstd" ];
};
fileSystems."/boot" =