mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 21:29:48 +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
9bddb0a89f
commit
cf1b4dd2b7
1 changed files with 4 additions and 2 deletions
|
@ -120,8 +120,10 @@ in {
|
||||||
(channel: properties: mapAttrsToList (mkCommand channel) properties)
|
(channel: properties: mapAttrsToList (mkCommand channel) properties)
|
||||||
cfg.settings;
|
cfg.settings;
|
||||||
|
|
||||||
load = pkgs.writeShellScript "load-xfconf"
|
load = pkgs.writeShellScript "load-xfconf" ''
|
||||||
(concatMapStrings concatStrings commands);
|
${config.lib.bash.initHomeManagerLib}
|
||||||
|
${concatMapStrings concatStrings commands}
|
||||||
|
'';
|
||||||
in ''
|
in ''
|
||||||
if [[ -v DBUS_SESSION_BUS_ADDRESS ]]; then
|
if [[ -v DBUS_SESSION_BUS_ADDRESS ]]; then
|
||||||
export DBUS_RUN_SESSION_CMD=""
|
export DBUS_RUN_SESSION_CMD=""
|
||||||
|
|
Loading…
Reference in a new issue