diff options
| author | Preston Pan <ret2pop@gmail.com> | 2025-09-20 05:28:30 -0700 |
|---|---|---|
| committer | Preston Pan <ret2pop@gmail.com> | 2025-09-20 05:28:30 -0700 |
| commit | 2f6ede5394f46892957369708c14fe6b1c7d6f81 (patch) | |
| tree | 83b9948cbedf19220d479d6d04fc3a7bd8a09aaf /config | |
| parent | 34f318ee2701ac6c0741abba6e8ecc0bba30c5ec (diff) | |
fix nix-impermanence
Diffstat (limited to 'config')
| -rw-r--r-- | config/nix.org | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/nix.org b/config/nix.org index 969634f..da30b91 100644 --- a/config/nix.org +++ b/config/nix.org @@ -1172,7 +1172,7 @@ This is my impermanence profile, which removes all files on reboot except for th boot.initrd.postResumeCommands = (if config.monorepo.profiles.impermanence.enable then lib.mkAfter '' mkdir /btrfs_tmp - mount /dev/root_vg/root /btrfs_tmp + mount /dev/mapper/crypted /btrfs_tmp if [[ -e /btrfs_tmp/root ]]; then mkdir -p /btrfs_tmp/old_roots timestamp=$(date --date="@$(stat -c %Y /btrfs_tmp/root)" "+%Y-%m-%-d_%H:%M:%S") |
