1
1
mirror of https://github.com/ryantm/agenix.git synced 2024-08-16 09:30:26 +03:00

Compare commits

...

3 Commits

Author SHA1 Message Date
James Taranto
7788b5c9a8
Merge e2ad357a97 into 07479c2e73 2024-05-08 01:22:02 +02:00
Jörg Thalheim
07479c2e73
update link to nixos wiki (#258) 2024-05-07 10:12:37 -07:00
James Taranto
e2ad357a97 fix: add --strict nix-instantiate to support builtins.readFile 2024-03-20 22:32:09 +11:00
2 changed files with 2 additions and 2 deletions

View File

@ -205,7 +205,7 @@ You can run the CLI tool ad-hoc without installing it:
nix run github:ryantm/agenix -- --help
```
But you can also add it permanently into a [NixOS module](https://nixos.wiki/wiki/NixOS_modules)
But you can also add it permanently into a [NixOS module](https://wiki.nixos.org/wiki/NixOS_modules)
(replace system "x86_64-linux" with your system):
```nix

View File

@ -189,7 +189,7 @@ function edit {
}
function rekey {
FILES=$( (@nixInstantiate@ --json --eval -E "(let rules = import $RULES; in builtins.attrNames rules)" | @jqBin@ -r .[]) || exit 1)
FILES=$( (@nixInstantiate@ --json --eval --strict -E "(let rules = import $RULES; in builtins.attrNames rules)" | @jqBin@ -r .[]) || exit 1)
for FILE in $FILES
do