From 654d0077f53e6b30fbee909ff6abbee6a1067593 Mon Sep 17 00:00:00 2001 From: twoneis Date: Wed, 8 May 2024 14:41:43 +0200 Subject: [PATCH] added persistent subvol --- devices/ellaca/disko.nix | 4 ++++ devices/ellaca/hardware-config.nix | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/devices/ellaca/disko.nix b/devices/ellaca/disko.nix index 1349545..659ad09 100644 --- a/devices/ellaca/disko.nix +++ b/devices/ellaca/disko.nix @@ -39,6 +39,10 @@ mountOptions = [ "compress=zstd" "noatime" ]; mountpoint = "/nix"; }; + "/persistent" = { + mountOptions = [ "compress=zstd" "noatime" ]; + mountpoint = "/persistent"; + }; }; mountpoint = "/pratition-root"; diff --git a/devices/ellaca/hardware-config.nix b/devices/ellaca/hardware-config.nix index 08d9ed7..f731ea6 100644 --- a/devices/ellaca/hardware-config.nix +++ b/devices/ellaca/hardware-config.nix @@ -19,6 +19,11 @@ fsType = "btrfs"; options = [ "subvol=nix" "compress=zstd" "noatime" ]; }; + "/persistent" = { + device = "/dev/disk/by-uuid/7d29fef5-9fdf-43b4-ad17-a94774f802b5"; + fsType = "btrfs"; + options = [ "subvol=persistent" "compress=zstd" "noatime" ]; + }; "/home" = { device = "/dev/disk/by-uuid/7d29fef5-9fdf-43b4-ad17-a94774f802b5"; fsType = "btrfs";