Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to process the manifest #563

Open
Kreyren opened this issue May 13, 2024 · 0 comments
Open

Unable to process the manifest #563

Kreyren opened this issue May 13, 2024 · 0 comments

Comments

@Kreyren
Copy link

Kreyren commented May 13, 2024

Following the instructions from the repository + checking for pebcak in the NixOS room i am unable to get sops to work on my systems:

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

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant