nix-bitcoin/modules/secrets
Erik Arvstedt 4d5bc810eb
secrets: fix setup-secrets in case of no secrets
Previously, the glob (*) returned '*' when no files existed in the
secrets dir, leading to error `chown: cannot access '*'`.

Now `unprocessedFiles` is empty when there are no secrets.

Also remove the unneeded sorting of `unprocessedFiles` and
remove redundant leading zero in the default mode.
2021-10-04 00:33:27 +02:00
..
generate-secrets.nix secrets: add option 'generateSecrets' 2021-03-15 12:42:52 +00:00
secrets.nix secrets: fix setup-secrets in case of no secrets 2021-10-04 00:33:27 +02:00