Commit 6f82fffd authored by Will Fancher's avatar Will Fancher
Browse files

nixos/gnome-initial-setup: Fix dependency ordering

The upstream unit dependencies in
`${gnome-initial-setup}/share/systemd/user/gnome-session.target.wants`
and
`${gnome-initial-setup}/share/systemd/user/graphical-session-pre.target.wants`
were the other way around. The way we had it caused a systemd unit cycle.

TODO: Build a way to use the upstream `.wants` dirs.
parent 12065c80
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -77,11 +77,11 @@ in
    ];

    systemd.user.targets."gnome-session".wants = [
      "gnome-initial-setup-copy-worker.service"
      "gnome-initial-setup-first-login.service"
    ];

    systemd.user.targets."graphical-session-pre".wants = [
      "gnome-initial-setup-first-login.service"
      "gnome-initial-setup-copy-worker.service"
    ];

    systemd.user.targets."gnome-session@gnome-initial-setup".wants = [