Open
Description
Hey, I set up my NixOS system with home-manager as NixOS module. Therefore, the activation script will run inside a systemd service that also runs on system boot. During that phase I get the following error:
Activating homeage
Decrypting secret /nix/store/<path>.age to /run/user/1000/secrets/<path>
mkdir: cannot create directory ‘/run/user/1000’: Permission denied
It looks like the directory was not created yet. I don't know how and when this directory is created (hopefully a system service) than home-manager should specify that as dependency for its systemd service.
- Do you have an idea, how to find the service that creates this directory?
- At least mark that in the README or even add the dependency in home-manager NixOS module itself.
Metadata
Assignees
Labels
No labels
Activity