summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/nix.org2
-rw-r--r--nix/modules/impermanence.nix2
2 files changed, 2 insertions, 2 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")
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")