summaryrefslogtreecommitdiff
path: root/nix/modules/impermanence.nix
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2025-09-20 05:28:30 -0700
committerPreston Pan <ret2pop@gmail.com>2025-09-20 05:28:30 -0700
commit2f6ede5394f46892957369708c14fe6b1c7d6f81 (patch)
tree83b9948cbedf19220d479d6d04fc3a7bd8a09aaf /nix/modules/impermanence.nix
parent34f318ee2701ac6c0741abba6e8ecc0bba30c5ec (diff)
fix nix-impermanence
Diffstat (limited to 'nix/modules/impermanence.nix')
-rw-r--r--nix/modules/impermanence.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/modules/impermanence.nix b/nix/modules/impermanence.nix
index e2abf3d..6305bc5 100644
--- a/nix/modules/impermanence.nix
+++ b/nix/modules/impermanence.nix
@@ -9,7 +9,7 @@
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")