mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-10 04:40:05 +00:00
✨ Finish sops-nix configuration, update README and more
This commit is contained in:
parent
6dc0e02a92
commit
d7a1a9ffbd
12 changed files with 111 additions and 17 deletions
10
README.md
10
README.md
|
@ -50,6 +50,16 @@ Additionally, the following command may be used to create a new sops secret file
|
|||
nix-shell -p sops --run "sops secrets/example.yaml"
|
||||
```
|
||||
|
||||
You may also encrypt arbitrary binary formats, like .cfg, using the following command:
|
||||
|
||||
> [!IMPORTANT]
|
||||
> The original file location also HAS to match one of the sops creation rules, not just the output.
|
||||
> Yes, I know this is stupid, and yes, I've wasted way too much time dealing with this :3
|
||||
|
||||
```sh
|
||||
nix-shell -p sops --run "sops -e original_file.cfg > secrets/encrypted_file.cfg"
|
||||
```
|
||||
|
||||
Lastly, when adding new systems, make sure to update any required secret files with the following command:
|
||||
|
||||
```sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue