Disable spotify at startup
This commit is contained in:
parent
58cfa8ee1f
commit
995af14515
1 changed files with 12 additions and 12 deletions
|
@ -9,18 +9,18 @@ in
|
||||||
{
|
{
|
||||||
home.packages = [ spotify-adblocked ];
|
home.packages = [ spotify-adblocked ];
|
||||||
|
|
||||||
systemd.user.services.spotify-adblocked = {
|
# systemd.user.services.spotify-adblocked = {
|
||||||
Install.WantedBy = [ "graphical-session.target" ];
|
# Install.WantedBy = [ "graphical-session.target" ];
|
||||||
|
|
||||||
Unit = {
|
# Unit = {
|
||||||
Description = "Spotify";
|
# Description = "Spotify";
|
||||||
PartOf = [ "graphical-session.target" ];
|
# PartOf = [ "graphical-session.target" ];
|
||||||
};
|
# };
|
||||||
|
|
||||||
Service = {
|
# Service = {
|
||||||
ExecStart = lib.getExe spotify-adblocked;
|
# ExecStart = lib.getExe spotify-adblocked;
|
||||||
Restart = "on-failure";
|
# Restart = "on-failure";
|
||||||
RestartSec = 3;
|
# RestartSec = 3;
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue