Merge pull request #238400 from NixOS/backport-238384-to-release-23.05

[Backport release-23.05] nixos/pantheon: allow excluding pantheon-agent-geoclue2
This commit is contained in:
Bobby Rong
2023-06-18 19:59:01 +08:00
committed by GitHub

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}