mirror of
https://github.com/nix-community/home-manager
synced 2024-11-08 12:19:43 +01:00
parent
e11f110b4b
commit
b19478d820
1 changed files with 11 additions and 11 deletions
|
@ -27,19 +27,19 @@ in
|
||||||
|
|
||||||
config = mkIf config.services.taffybar.enable {
|
config = mkIf config.services.taffybar.enable {
|
||||||
systemd.user.services.taffybar = {
|
systemd.user.services.taffybar = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Taffybar desktop bar";
|
Description = "Taffybar desktop bar";
|
||||||
After = [ "graphical-session-pre.target" ];
|
After = [ "graphical-session-pre.target" ];
|
||||||
PartOf = [ "graphical-session.target" ];
|
PartOf = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
ExecStart = "${cfg.package}/bin/taffybar";
|
ExecStart = "${cfg.package}/bin/taffybar";
|
||||||
};
|
};
|
||||||
|
|
||||||
Install = {
|
Install = {
|
||||||
WantedBy = [ "graphical-session.target" ];
|
WantedBy = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue