You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and services.swaync.enable = true; is set to true in home-manager, the desktop portal runs into a timeout. I use the sway module from home-manager with the sway-session.target systemd-target.
I should add that I'm using impermanence and on the very first start of my desktop session I activate my home-manager config like this:
{programs=lib.genAttrs["zsh""bash"](shell: {interactiveShellInit='' if ! [[ -v TRIED_HOME_MANAGER_ACTIVATE || -e $HOME/.config/environment.d/10-home-manager.conf ]]; then hm="$HOME/.local/state/nix/profiles/home-manager" [[ -x $hm/bin/home-manager-generation ]] && $hm/bin/home-manager-generation export TRIED_HOME_MANAGER_ACTIVATE=1 exec ${shell} -l fi '';});}
Relevant logs:
Sep 21 16:04:29 snens systemd[6672]: Reloading requested from client PID 7116 ('sd-switch')...
Sep 21 16:04:29 snens systemd[6672]: Reloading...
Sep 21 16:04:29 snens systemd[6672]: Reloading finished in 125 ms.
Sep 21 16:04:29 snens systemd[6672]: Starting Run user-specific NixOS activation...
Sep 21 16:04:29 snens systemd[6672]: Starting MPRIS media player daemon...
Sep 21 16:04:29 snens systemd[6672]: Starting sops-nix activation...
Sep 21 16:04:29 snens systemd[6672]: Started MPRIS media player daemon.
Sep 21 16:04:29 snens systemd[6672]: Finished Run user-specific NixOS activation.
Sep 21 16:04:29 snens systemd[6672]: Finished sops-nix activation.
Sep 21 16:04:29 snens systemd[6672]: Starting sops-nix activation...
Sep 21 16:04:29 snens systemd[6672]: Finished sops-nix activation.
Sep 21 16:04:29 snens systemd[6672]: Starting sops-nix activation...
Sep 21 16:04:29 snens systemd[6672]: Finished sops-nix activation.
Sep 21 16:04:31 snens systemd[6672]: Started Clipboard manager.
Sep 21 16:04:31 snens systemd[6672]: Started GNOME Keyring.
Sep 21 16:04:31 snens systemd[6672]: Reached target Session services which should run early before the graphical session is brought up.
Sep 21 16:04:31 snens systemd[6672]: Reached target Home Manager System Tray.
Sep 21 16:04:31 snens systemd[6672]: Started Gammastep colour temperature adjuster.
Sep 21 16:04:31 snens systemd[6672]: Started Nextcloud Client.
Sep 21 16:04:31 snens systemd[6672]: Started UPower-powered power alerter.
Sep 21 16:04:31 snens systemd[6672]: Started Safeeyes.
Sep 21 16:04:31 snens systemd[6672]: Started Idle manager for Wayland.
Sep 21 16:04:31 snens systemd[6672]: Starting Swaync notification daemon...
Sep 21 16:04:31 snens systemd[6672]: Started udiskie mount daemon.
Sep 21 16:04:31 snens systemd[6672]: Started Clipboard URL cleanup service.
Sep 21 16:04:31 snens systemd[6672]: Started Highly customizable Wayland bar for Sway and Wlroots based compositors..
Sep 21 16:04:31 snens systemd[6672]: Starting Portal service...
Sep 21 16:04:31 snens systemd[6672]: Starting flatpak document portal service...
Sep 21 16:04:31 snens systemd[6672]: Starting sandboxed app permission store...
Sep 21 16:04:31 snens systemd[6672]: Started sandboxed app permission store.
Sep 21 16:04:31 snens systemd[6672]: Started flatpak document portal service.
Sep 21 16:04:31 snens systemd[6672]: Starting Portal service (GTK/GNOME implementation)...
Sep 21 16:04:31 snens systemd[6672]: Started Portal service (GTK/GNOME implementation).
Sep 21 16:04:31 snens systemd[6672]: Started PipeWire Multimedia Service.
Sep 21 16:04:31 snens systemd[6672]: Started Multimedia Service Session Manager.
Sep 21 16:04:41 snens systemd[6672]: xdg-desktop-portal.service: start operation timed out. Terminating.
Sep 21 16:04:41 snens systemd[6672]: swaync.service: start operation timed out. Terminating.
Sep 21 16:04:41 snens systemd[6672]: xdg-desktop-portal.service: Failed with result 'timeout'.
Sep 21 16:04:41 snens systemd[6672]: Failed to start Portal service.
Sep 21 16:04:41 snens systemd[6672]: swaync.service: Failed with result 'timeout'.
Sep 21 16:04:41 snens systemd[6672]: Failed to start Swaync notification daemon.
Sep 21 16:04:41 snens systemd[6672]: Reached target Current graphical user session.
Sep 21 16:04:41 snens systemd[6672]: Reached target sway compositor session.
The following change to my home configuration has solved the problem:
I'm not entirely sure why which is why I didn't file a PR yet.
Does it make sense to make the target configurable here via systemdTarget as it's the case in other modules?
Are you following the right branch?
Is there an existing issue for this?
Issue description
When
xdg-desktop-portal
is enabled on NixOS viaand
services.swaync.enable = true;
is set totrue
in home-manager, the desktop portal runs into a timeout. I use thesway
module from home-manager with thesway-session.target
systemd-target.I should add that I'm using
impermanence
and on the very first start of my desktop session I activate my home-manager config like this:Relevant logs:
The following change to my home configuration has solved the problem:
I'm not entirely sure why which is why I didn't file a PR yet.
Does it make sense to make the target configurable here via
systemdTarget
as it's the case in other modules?Maintainer CC
cc @9p4 @rycee @abayomi185
System information
hm is at revision 208df2e.
The text was updated successfully, but these errors were encountered: