This project contains the following directory structure:
core- Files and folders to be symlinked to$HOMEwhile preserving their structure.vault- Files and folders with similar functionality ascore, but stored as encrypted.Makefile- Contains build scripts and commands for managing the project..sops.yaml- Configuration for SOPS (Secrets OPerationS) to manage encrypted files.README.md- Project documentation.
- Generate sop key
mkdir -p ~/.config/sops/age
age-keygen -o ~/.config/sops/age/key.txtPUB_KEY=$(grep '^# public key:' ~/.config/sops/age/key.txt | awk '{print $4}')
PRIV_KEY=$(grep -v '^#' ~/.config/sops/age/key.txt)
echo "$PUB_KEY"
echo "$PRIV_KEY"
op item create --category "Secure Note" --title "sops-age-public-key" "secret=$PUB_KEY"
op item create --category "Secure Note" --title "sops-age-private-key" "secret=$PRIV_KEY"- Clone the repository:
git clone <repository-url>- Files in
corewill be copied to your$HOMEdirectory, preserving their folder structure. - Files in
vaultare stored encrypted and require decryption before use.
Refer to project scripts or documentation for details on encryption and copying.