haskellfoundation / haskellfoundation/hf-infrastructure
Improve use of sops-nix
- Dominant language
- Nix
- Stars
- 9
- Forks
- 4
- Avg merge
- 1d 47m
- Merged PRs (30d)
- 4
Description
I did an experiment combining sops-nix and LoadCredential. See details at the top of https://github.com/haskellfoundation/hf-infrastructure/blob/b2f63b4d6d1e3a532761c242283e3ed8aec11998/stackage-builder/nixos-modules/stackage-server.nix .
In those details, I highlight a shortcoming of the current approach. Now I think I could do a little better:
* [ ] Use `builitns.dirOf` to get the directory where secrets are held
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the experiment details near the top of stackage-builder/nixos-modules/stackage-server.nix and review how the current secrets directory is obtained. Use builtins.dirOf as described in the checklist, and consider the work done when the configuration derives the directory containing the secrets.
Written by the indexing model from the issue text.
Assessment
- Domain
- devops, infrastructure
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100