Open pcboy opened 7 months ago
I have the same issue. I saw a code and as I understand templates support only for nixOs Modules, not for home-manager modules, I hope yet.
Indeed. Templates are only available in the NixOS module. There is an existing issue for template support for the HM module: https://github.com/Mic92/sops-nix/issues/423.
I think the python script should be moved into the go code than it will be available on all platforms as it is.
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)