Johannes Horner

Results 11 comments of Johannes Horner

I tried to do something similar and also experienced this "weird" behaviour. I just took a quick look at the "packer/compile.lua" file in the packer plugin folder. As far as...

I just found this closed [issue](https://github.com/nix-community/home-manager/issues/1816#issuecomment-1110842036) where in the following pull request the offending excluded command "gpg-connect-agent ..." was forgotten (?) when adding support for the fish shell. I guess...

Closing as I am no longer using GPG. The issue still exists as far as I can see in the linked "gpg-agent.nix" file.

According to [this](https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html), systemd looks for user units under `$XDG_DATA_DIRS/systemd/user`. The needed service symlinks do exist there, and `systemctl --user show-environment` shows that systemd knows about `XDG_DATA_DIRS`: ``` [I] johannes@wslinuxhoo...

Hey, thanks for the help. `No files found for xdg-desktop-portal-wlr.service.` is the output i get. I do get output for `xdg-desktop-portal.service` which is in the same directory: ``` [Service] BusName=org.freedesktop.portal.Desktop...

@baloo Thanks for the suggestion. Unfortunately that doesn't change anything for me. `systemctl --user show-environment` also lists `XDG_DATA_DIRS` with the expected value (`..:/home/johannes/.nix-profile/share:..`), with and without the suggested `.pam_environment` file...

Ahh I misunderstood earlier. `systemctl --user show-environment` only shows variables available to the services started by the user instance, these are not necessarily set for the user instance itself. Even...

@baloo Regarding the `.pam_enviroment` file, it looks like the file is only read if [user_readenv](https://manpages.debian.org/jessie/libpam-modules/pam_env.8.en.html) is set to 1 (Default is 0). [Ubuntu](https://manpages.ubuntu.com/manpages/xenial/en/man8/pam_env.8.html) supposedly also does the same, so not...

Good Idea! I initially dismissed this as I thought that this would also implicitly "enable" the services (which you don't want for the portal services, as they are started on...