mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
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
1 changed files with 4 additions and 2 deletions
|
@ -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