fix: update local directories

This commit is contained in:
Matthieu Bessat 2024-12-11 18:44:19 +01:00
parent 6dff36860d
commit b66fa1861f
2 changed files with 14 additions and 7 deletions

View file

@ -311,12 +311,17 @@
recurse: true recurse: true
- name: Setup long-term local secrets - name: Setup long-term local secrets
file: file:
path: "{{ home }}/.hidden/local_secrets" path: "{{ home }}/.local/secrets"
state: directory
recurse: true
- name: Setup directory to contains local root CA
file:
path: "{{ home }}/.local/secrets/root_ca"
state: directory state: directory
recurse: true recurse: true
- name: Setup temporary secrets folder - name: Setup temporary secrets folder
file: file:
path: "{{ home }}/.cache/secrets/" path: "{{ home }}/.cache/secrets"
state: directory state: directory
recurse: true recurse: true
- name: Setup vaults dir gpg home - name: Setup vaults dir gpg home

View file

@ -2,16 +2,18 @@
Here are the path conventions we use to store files. Here are the path conventions we use to store files.
- `~/junk` - Very temp files (experiments)
- `~/triage` - Files to keep but to triage later to others directories for long-term storage
- `~/workspace` - Store all code git clone being worked on - `~/workspace` - Store all code git clone being worked on
- `~/.hidden/local_secrets` - Long-term secrets that are unique and specific to this device. (Eg. forge token, LUKS for external USB thumbdrive, gotify token) - `~/.local/secrets` - Store general long-term clear secrets that are not protected by a password.
- `~/.local/secrets/device` - Long-term secrets that are unique and specific to this device. (Eg. forge client token, LUKS key for external USB thumbdrive, Gotify client token)
- `~/.local/secrets/root_ca` - Long-term local Root Certificate authorities private keys.
- `~/.cache/secrets` - Cookie jar for temporary secrets (less that 1 month), can be regenerated quickly with a command. - `~/.cache/secrets` - Cookie jar for temporary secrets (less that 1 month), can be regenerated quickly with a command.
- `~/.vaults` - To store [Pass](https://www.passwordstore.org/) directories (a profile per directory) - `~/.vaults` - To store [Pass](https://www.passwordstore.org/) directories (a profile per directory). Secrets protected by encryption.
- `~/junk` - Very temp files (experiments)
- `~/triage` - Files to keep but to sort out later to others directories for long-term storage.
- `~/medias` - Store long-term medias (like offline audio and videos) - `~/medias` - Store long-term medias (like offline audio and videos)
- `~/notebooks` - Store all monakhos notebooks - `~/notebooks` - Store all monakhos notebooks
- `~/quick` - Store transitive content and medias - `~/quick` - Store transitive content and medias
- `~/quick/notes` - `~/quick/notes`
- `~/quick/screenshots` - `~/quick/screenshots`
- `~/.apps` - Store manually installed linux apps and programs (AppImages or manually built binaries) - `~/.apps` - Store manually installed linux apps and programs (AppImages or manually built binaries) (like a local /opt)