diff options
| author | Preston Pan <ret2pop@gmail.com> | 2025-09-18 23:57:01 -0700 |
|---|---|---|
| committer | Preston Pan <ret2pop@gmail.com> | 2025-09-18 23:57:01 -0700 |
| commit | c2720248c8cef1df804d8f5def306d6973eabdcb (patch) | |
| tree | 0de7b6925485969f14c961b103a657d8a89169d5 /nix | |
| parent | e4b2dd39be50f7bf064a2a57076f75317b5ebad0 (diff) | |
fix impermanence
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/modules/impermanence.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nix/modules/impermanence.nix b/nix/modules/impermanence.nix index e5308ac..32bcb23 100644 --- a/nix/modules/impermanence.nix +++ b/nix/modules/impermanence.nix @@ -31,7 +31,13 @@ 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; |
