From 3e4570e2656db44e6795cddf893ba05e33f1471b Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Mon, 21 Aug 2023 21:37:15 +0800 Subject: [PATCH] workflows/mosey-branch: add gnome-session sessions in system --- modules/nixos/workflows/mosey-branch/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/nixos/workflows/mosey-branch/default.nix b/modules/nixos/workflows/mosey-branch/default.nix index 03ff7830..1a3ca9b2 100644 --- a/modules/nixos/workflows/mosey-branch/default.nix +++ b/modules/nixos/workflows/mosey-branch/default.nix @@ -119,6 +119,10 @@ in environment.systemPackages = cfg.extraApps ++ requiredPackages; systemd.packages = [ customDesktopSession ]; + # We'll have to include them for gnome-session to recognize it in NixOS + # systems. + environment.pathsToLink = [ "/share/gnome-session" ]; + environment.sessionVariables.GNOME_SESSION_DEBUG = lib.mkIf cfg.debug "1"; # Our preferred display manager.