new script to unlock ~/private
This commit is contained in:
parent
8f61ba6085
commit
cc63cacf28
10
pkgs/sane-scripts/src/sane-private-unlock
Executable file
10
pkgs/sane-scripts/src/sane-private-unlock
Executable 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"
|
Loading…
Reference in New Issue
Block a user