diff --git a/modules/nixos/workflows/mosey-branch/config/desktop-session/mosey-branch.bin.in b/modules/nixos/workflows/mosey-branch/config/desktop-session/mosey-branch.bin.in index 3c0792b6..81c48576 100755 --- a/modules/nixos/workflows/mosey-branch/config/desktop-session/mosey-branch.bin.in +++ b/modules/nixos/workflows/mosey-branch/config/desktop-session/mosey-branch.bin.in @@ -1,3 +1,9 @@ #!/bin/bash +# gnome-session is also looking for RequiredComponents in here. +export XDG_CONFIG_DIRS=@prefix@/etc/xdg${XDG_CONFIG_DIRS:-:$XDG_CONFIG_DIRS} + +# We'll have to force gnome-session to detect our session. +export XDG_DATA_DIRS=@prefix@/share${XDG_DATA_DIRS:-:$XDG_DATA_DIRS} + gnome-session --session=mosey-branch --systemd --disable-acceleration-check