From 57dde93d6059cd476bc5e196e0cef348f6544085 Mon Sep 17 00:00:00 2001 From: Jakub Stachurski Date: Sat, 3 May 2025 01:07:12 +0200 Subject: btrbk setup --- nixos/hosts/apocalypse/hardware-configuration.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'nixos/hosts/apocalypse/hardware-configuration.nix') 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" = -- cgit v1.3.1