From 76904cfeb1b30b21f1874dc72e113b8884467774 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Mon, 21 Aug 2023 19:12:46 +0800 Subject: [PATCH] workflows/mosey-branch: update session script --- .../mosey-branch/config/desktop-session/mosey-branch.bin.in | 6 ++++++ 1 file changed, 6 insertions(+) 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