1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-26 08:28:30 +02:00

gnome-terminal: load configuration at right time

If the dconf service hasn't been installed then the configuration
activation will fail. Thus, make sure the activation script is run after
packages have been installed.
This commit is contained in:
Robert Helgesson 2017-02-05 12:01:49 +01:00
parent 34d472886d
commit 119c7b2538
No known key found for this signature in database
GPG Key ID: C3DB11069E65DC86

View File

@ -182,7 +182,8 @@ in
sf = pkgs.writeText "gnome-terminal.ini" (toINI (buildIniSet cfg));
dconfPath = "/org/gnome/terminal/legacy/";
in
''
# The dconf service needs to be installed and prepared.
stringAfter [ "installPackages" ] ''
if [[ $DRY_RUN ]]; then
echo ${pkgs.gnome3.dconf}/bin/dconf load ${dconfPath} "<" ${sf}
else