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