Hi, my system boots relatively fast to GDM. After I enter my password, it takes about 100 seconds until I see the desktop. I created a new user without home-manager. Same problem there.
I am on nixos-unstable, using zfs filesystem.
How can I debug this?
This should give you an indication of what’s going on:
systemd-analyze blame --user
@peterhoeg Thank you. The
xdg.portal.enable was responsible. Disabling portal reduces the login time to a few seconds. I enabled it to make obs studio working under wayland.
It’s ordered in descending order by the time each unit took - it’s not showing the sequence/ordering.
I suggest having a look at the man page for
systemd-analyse. There’s a lot of good stuff in there.