new script to unlock ~/private

This commit is contained in:
colin 2022-10-22 05:47:17 -07:00
parent 8f61ba6085
commit cc63cacf28

View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -ex
# configure persistent, encrypted storage that is auto-mounted on login.
# this is a one-time setup and user should log out/back in after running it.
mount=/home/colin/private
cipher="/nix/persist$mount"
gocryptfs "$cipher" "$mount"