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 ];
|
||||
|
||||
systemd.user.services.spotify-adblocked = {
|
||||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
# systemd.user.services.spotify-adblocked = {
|
||||
# Install.WantedBy = [ "graphical-session.target" ];
|
||||
|
||||
Unit = {
|
||||
Description = "Spotify";
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
# Unit = {
|
||||
# Description = "Spotify";
|
||||
# PartOf = [ "graphical-session.target" ];
|
||||
# };
|
||||
|
||||
Service = {
|
||||
ExecStart = lib.getExe spotify-adblocked;
|
||||
Restart = "on-failure";
|
||||
RestartSec = 3;
|
||||
};
|
||||
};
|
||||
# Service = {
|
||||
# ExecStart = lib.getExe spotify-adblocked;
|
||||
# Restart = "on-failure";
|
||||
# RestartSec = 3;
|
||||
# };
|
||||
# };
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue