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

Templates with HM "error: attribute 'xdg' missing" #681

Open
abraverm opened this issue Nov 24, 2024 · 1 comment
Open

Templates with HM "error: attribute 'xdg' missing" #681

abraverm opened this issue Nov 24, 2024 · 1 comment

Comments

@abraverm
Copy link

I have tried the new templates support in HM (#668) but it produces this error when path is not specified:

       error: attribute 'xdg' missing

       at /nix/store/f7wqa62l66hlnspd2v5mlhl90k7x51vz-source/modules/home-manager/templates.nix:36:30:

           35|                 # Keep this in sync with `RenderedSubdir` in `pkgs/sops-install-secrets/main.go`
           36|                 default = "${config.xdg.configHome}/sops-nix/secrets/rendered/${config.name}";
             |                              ^
           37|               };

Also when the path is specified, matching default, the rendered file seems to be encoded, with content like 212476d9b0f3472eaa762... .

@jobs62
Copy link
Contributor

jobs62 commented Nov 28, 2024

@abraverm actually it is your secret repeated again and again (with one letter in between). maybe you should rotate it, just in case.

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

2 participants