diff options
Diffstat (limited to 'nix/modules/impermanence.nix')
| -rw-r--r-- | nix/modules/impermanence.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/modules/impermanence.nix b/nix/modules/impermanence.nix index 36b2f7e..ad942ff 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/mapper/crypted /btrfs_tmp + mount -t btrfs -n -o subvol=/ /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") @@ -29,7 +29,7 @@ done btrfs subvolume create /btrfs_tmp/root - umount /btrfs_tmp + umount -n /btrfs_tmp '' else ""); boot.initrd.luks.devices = (if (config.monorepo.vars.fileSystem == "btrfs") then { |
