1
1
mirror of https://github.com/divnix/digga.git synced 2024-11-24 13:12:19 +03:00
digga/secrets/README.md

19 lines
790 B
Markdown
Raw Normal View History

2021-02-14 05:38:20 +03:00
# Secrets
Secrets are managed using [git-crypt][git-crypt] so you can keep your flake in
a public repository like GitHub without exposing your password or other
sensitive data.
By default, everything in the secrets folder is automatically encrypted. Just
be sure to run `git-crypt init` before putting anything in here.
> ##### _Note:_
> Currently, there is [no mechanism][secrets-issue] in nix to deploy secrets
> within the nix/store so, if they end up in the nix/store after deployment, they
> will be world readable on that machine.
>
2021-02-18 04:31:33 +03:00
> The author of devos intends to implement a workaround for this situation in
2021-02-14 05:38:20 +03:00
> the near future, but for the time being, simple be aware of this.
[git-crypt]: https://github.com/AGWA/git-crypt
[secrets-issue]: https://github.com/NixOS/nix/issues/8