update readme to explain how to handle secrets with git

This commit is contained in:
Colin 2022-05-21 02:08:49 +00:00
parent 55b3b6ad46
commit e0f710b8a3
2 changed files with 7 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,2 +1,3 @@
result
secrets/*
/secrets/*
!/secrets/readme.md

View File

@ -9,3 +9,8 @@ query with:
```sh
nix flake show
```
# secrets
change files in secrets/. they need to be checked into git with some placeholder text for them to be exposed to the flake,
but after that you can set them to their real value and run `git update-index --assume-unchanged secrets/*`