moar progression
This commit is contained in:
parent
2bc6436b22
commit
33f1f56001
1 changed files with 22 additions and 1 deletions
23
README.md
23
README.md
|
@ -41,8 +41,29 @@ creation_rules:
|
|||
EOF
|
||||
```
|
||||
|
||||
?. Update the submodule to use your secrets repository.
|
||||
6. Create a password file for your user.
|
||||
```sh
|
||||
mkpasswd | wl-copy # if you're on x11, replace `wl-copy` with `xclip -sel clipboard`
|
||||
sops <username>.yaml
|
||||
```
|
||||
Where `<username>` is the user set to be used in `flake.nix`.
|
||||
|
||||
Then edit the file to look like this.
|
||||
```yaml
|
||||
user_password: <The pasted password from mkpasswd>
|
||||
```
|
||||
|
||||
7. Commit and push your changes.
|
||||
```sh
|
||||
git remote add origin git@example.com:example/secrets
|
||||
git add .
|
||||
git commit -m "batman"
|
||||
git push --set-upstream origin master
|
||||
```
|
||||
|
||||
8. Update the submodule to use your secrets repository.
|
||||
```sh
|
||||
cd <Path to the configuration repo>
|
||||
git submodule set-url -- secrets <ssh uri to your repository>
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue