diff --git a/flake.lock b/flake.lock index 1671d03..0c706c4 100644 --- a/flake.lock +++ b/flake.lock @@ -228,11 +228,11 @@ "nix-secrets": { "flake": false, "locked": { - "lastModified": 1716755172, - "narHash": "sha256-os5wQsYjysS9Fd28GegNim+OOE3WoK5ETDYSaFMqd14=", + "lastModified": 1716755938, + "narHash": "sha256-x2XbBriM3ZBt6sodNgCvq68gy9lGFanWSGgh8weTB4I=", "ref": "refs/heads/master", - "rev": "6772ccd68afefc0b456625112b4ca4bb65a3aa76", - "revCount": 58, + "rev": "b32b7f37f6e4a31b99d1cc4ce2e70778f363e43e", + "revCount": 59, "type": "git", "url": "ssh://git@git.bitlab21.com/sam/nix-secrets.git" }, diff --git a/hosts/common/optional/btrfs-impermanence.nix b/hosts/common/optional/btrfs-impermanence.nix index 0365397..ab94fb2 100644 --- a/hosts/common/optional/btrfs-impermanence.nix +++ b/hosts/common/optional/btrfs-impermanence.nix @@ -2,6 +2,7 @@ { boot.initrd.postDeviceCommands = lib.mkAfter '' mkdir /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")