Gnome : Set dconfload to depend on dotfiles.
This commit is contained in:
parent
ecf17c6b52
commit
e4518deccf
|
@ -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}
|
||||||
|
|
Reference in a new issue