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:
parent
2db6a2a429
commit
4d53427bce
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue