Merge pull request #238384 from bobby285271/fix/pantheon-sessionCommands

nixos/pantheon: allow excluding pantheon-agent-geoclue2
This commit is contained in:
Bobby Rong 2023-06-18 19:23:09 +08:00 committed by GitHub
commit 34c861d69c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,6 +113,7 @@ in
services.xserver.displayManager.sessionCommands = ''
if test "$XDG_CURRENT_DESKTOP" = "Pantheon"; then
true
${concatMapStrings (p: ''
if [ -d "${p}/share/gsettings-schemas/${p.name}" ]; then
export XDG_DATA_DIRS=$XDG_DATA_DIRS''${XDG_DATA_DIRS:+:}${p}/share/gsettings-schemas/${p.name}