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
error:
… while calling the 'head' builtin
at /nix/store/818hgwlhx8ygjilaj89za2nyfff6d8aj-source/lib/attrsets.nix:960:11:
959| || pred here (elemAt values 1) (head values) then
960| head values
| ^
961| else
… while evaluating the attribute 'value'
at /nix/store/818hgwlhx8ygjilaj89za2nyfff6d8aj-source/lib/modules.nix:809:9:
808| in warnDeprecation opt //
809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
810| inherit (res.defsFinal') highestPrio;
(stack trace truncated; use '--show-trace' to show the full trace)
error: attribute 'placeholder' missing
at /nix/store/ckarwy9k1k9qz5nz00mihhhr7q8cnq36-source/home.nix:192:24:
191| "provider": "openai",
192| "apiKey": "${config.sops.placeholder."OPENAPI_KEY"}",
| ^
193| "model": "gpt-3.5-turbo-0125"
I also tried to use only the nixOS sops-nix module (instead of the HM one) and use the placeholders, same error.
What am I doing wrong?
I'm on sops-nix from 'github:Mic92/sops-nix/ffed177a9d2c685901781c3c6c9024ae0ffc252b' (2024-02-18)
The text was updated successfully, but these errors were encountered:
I'm trying to use the sops-nix placeholders in my nixOS flake and this is strangely failing.
In my home.nix I correctly import the sops-nix home manager module with:
Then if I'm trying to use the placeholder/template system:
I get this:
I also tried to use only the nixOS sops-nix module (instead of the HM one) and use the placeholders, same error.
What am I doing wrong?
I'm on sops-nix from 'github:Mic92/sops-nix/ffed177a9d2c685901781c3c6c9024ae0ffc252b' (2024-02-18)
The text was updated successfully, but these errors were encountered: