From c2720248c8cef1df804d8f5def306d6973eabdcb Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Thu, 18 Sep 2025 23:57:01 -0700 Subject: fix impermanence --- config/nix.org | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'config/nix.org') diff --git a/config/nix.org b/config/nix.org index a11f064..fa4a659 100644 --- a/config/nix.org +++ b/config/nix.org @@ -1189,7 +1189,13 @@ This is my impermanence profile, which removes all files on reboot except for th btrfs subvolume create /btrfs_tmp/root umount /btrfs_tmp '' else ""); - + + filesystems = if (config.monorepo.profiles.impermanence.enable) then { + "/persistent" = { + neededForBoot = true; + }; + } else {}; + environment.persistence."/persistent" = { enable = config.monorepo.profiles.impermanence.enable; hideMounts = true; -- cgit v1.3