xfconf: fix config loading

The `run` function export was removed in #4965. This broke the
expectation in this module that `run` would be available outside of
main activation script, as `$DRY_RUN_CMD` once was.

Fixes #4980
This commit is contained in:
Kylie McClain 2024-01-31 18:24:56 -05:00 committed by Robert Helgesson
parent 2db6a2a429
commit 4d53427bce
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -120,8 +120,10 @@ in {
(channel: properties: mapAttrsToList (mkCommand channel) properties)
cfg.settings;
load = pkgs.writeShellScript "load-xfconf"
(concatMapStrings concatStrings commands);
load = pkgs.writeShellScript "load-xfconf" ''
${config.lib.bash.initHomeManagerLib}
${concatMapStrings concatStrings commands}
'';
in ''
if [[ -v DBUS_SESSION_BUS_ADDRESS ]]; then
export DBUS_RUN_SESSION_CMD=""