Disable spotify at startup

This commit is contained in:
Andrea Ciceri 2025-05-16 16:02:32 +02:00
parent 58cfa8ee1f
commit 995af14515
No known key found for this signature in database

View file

@ -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;
}; # };
}; # };
} }