Gnome : Set dconfload to depend on dotfiles.

This commit is contained in:
Dmitry Voronin 2024-02-20 16:08:53 +03:00
parent ecf17c6b52
commit e4518deccf

View file

@ -56,6 +56,8 @@ in {
systemd.user.services.dconfload = { systemd.user.services.dconfload = {
description = "Load Gnome dconf settings in startup."; description = "Load Gnome dconf settings in startup.";
wantedBy = [ "graphical-session-pre.target" ]; wantedBy = [ "graphical-session-pre.target" ];
wants = [ "dotfiles.service" ];
after = [ "dotfiles.service" ];
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
script = '' script = ''
sed -i -e "s/voronind/$(whoami)/g" ${dconfConfig} sed -i -e "s/voronind/$(whoami)/g" ${dconfConfig}