From 119c7b25382eae7321db13a4aded56e50f86e363 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sun, 5 Feb 2017 12:01:49 +0100 Subject: [PATCH] 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. --- modules/programs/gnome-terminal.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/programs/gnome-terminal.nix b/modules/programs/gnome-terminal.nix index ca5513cd7..bbeab158e 100644 --- a/modules/programs/gnome-terminal.nix +++ b/modules/programs/gnome-terminal.nix @@ -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