You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
building '/nix/store/ig2k5ngl949i79g5iv4k16k448zfrb4a-sops-install-secrets-0.0.1.drv'...
building '/nix/store/f28mrs2h3fq4sy0nb0l90zni5d833mkq-manifest-for-users.json.drv'...
error: builder for '/nix/store/f28mrs2h3fq4sy0nb0l90zni5d833mkq-manifest-for-users.json.drv' failed with exit code 1;
last 1 log lines:
> /nix/store/1w1fshal6qlx8pzlsxwcfzyk0p3ji4fs-sops-install-secrets-0.0.1/bin/sops-install-secrets: manifest is not valid: secret users/kreyren/hashed-password in /nix/store/wv3x8s1rqgib8k9vh7gimz9bxxwhy410-.sops.yaml is not valid: the key 'users' cannot be found
For full logs, run 'nix log /nix/store/f28mrs2h3fq4sy0nb0l90zni5d833mkq-manifest-for-users.json.drv'.
error: 1 dependencies of derivation '/nix/store/n507kmc4h48b9hbgxgkvwfri71bpr2lf-nixos-system-pelagus-23.11.20240502.383ffe0.drv' failed to build
$ nix log /nix/store/f28mrs2h3fq4sy0nb0l90zni5d833mkq-manifest-for-users.json.drv
/nix/store/1w1fshal6qlx8pzlsxwcfzyk0p3ji4fs-sops-install-secrets-0.0.1/bin/sops-install-secrets: manifest is not valid: secret users/kreyren/hashed-password in /nix/store/wv3x8s1rqgib8k9vh7gimz9bxxwhy410-.sops.yaml is not valid: the key 'users' cannot be found
Following the instructions from the repository + checking for pebcak in the NixOS room i am unable to get sops to work on my systems:
Source code: https://github.com/Kreyren/nixos-config/tree/a29158d0d9bd9ecd48425a3ac88ec3f88eb6c17e
Relevant files:
Additional info:
I wasn't able to make it work my-way so i tried to look for a reference and found this working configuration: https://github.com/montchr/dotfield/blob/a20af511674ff25eb52d9b5d1f7ac07bf17bdc64/machines/tuvok/users/cdom.nix#L11 that i tried to mirror in my config for easier diagnostics.
The text was updated successfully, but these errors were encountered: