diff --git a/hosts/kim/annika.nix b/hosts/kim/annika.nix index 52dcbee..4e0aab7 100644 --- a/hosts/kim/annika.nix +++ b/hosts/kim/annika.nix @@ -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; } diff --git a/hosts/kim/configuration.nix b/hosts/kim/configuration.nix index c0e8c69..44ef91b 100644 --- a/hosts/kim/configuration.nix +++ b/hosts/kim/configuration.nix @@ -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; };