This commit is contained in:
Annika Merris 2024-05-12 14:23:41 -04:00
parent 2162f6de09
commit 9fdd301451
2 changed files with 1 additions and 18 deletions

View file

@ -120,23 +120,6 @@
};
};
# Install and setup spotifyd
systemd.user.services.spotifyd = {
Unit = {
Description = "spotify daemon";
Documentation = "https://github.com/Spotifyd/spotifyd";
};
Install.WantedBy = [ "default.target" ];
Service = {
ExecStart =
"${pkgs.spotifyd}/bin/spotifyd --no-daemon --config-path ${config.sops.templates."spotifyd.conf".path}";
Restart = "always";
RestartSec = 12;
};
};
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
}

View file

@ -125,7 +125,7 @@
Service = {
ExecStart =
"${pkgs.spotifyd}/bin/spotifyd --no-daemon --config-path ${sops.templates."spotifyd.conf".path}";
"${pkgs.spotifyd}/bin/spotifyd --no-daemon --config-path ${config.sops.templates."spotifyd.conf".path}";
Restart = "always";
RestartSec = 12;
};