diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/nix.org | 8 |
1 files changed, 7 insertions, 1 deletions
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; |
