kev

Results 44 comments of kev

Hi, I came across with similar use cases. Any updates on this feature request?

Man, you save my life. I spent tons of time debugging this minitor order issue. Nice to have the solution here. Thanks!

> As I understand it the `home-manager` module creates the secrets under `/run/user//secrets`, so the file should be `/run/user//secrets/test.txt` after `home-manager switch` - but only after you've executed `systemctl --user...

Actually, it is highlighted in the readme. ![image](https://github.com/Mic92/sops-nix/assets/31861128/ae37a48e-d323-4929-92cb-7e499de201e8)

> I wasted some time investigating why sops-nix doesn't generate the secret files for me after using `home-manager switch`, then I noticed I needed to start `systemctl start --user sops-nix`...

> @madorian are you using home-manager to configure the root user's home-directory? I've only gotten that when I have no secrets being deployed by home-manager in my current user's configuration....

> home.activation.setupEtc = config.lib.dag.entryAfter [ "writeBoundary" ] '' > run /usr/bin/systemctl start --user sops-nix > ''; Should use `/run/current-system/sw/bin/systemctl` instead of `/user/bin/systemctl`. I've tested this solution, and it indeed works....

This feature is very necessary. I am experiencing exactly the same issue!