From 9fdd30145112e2c0ceece02fc488eb817e85ff93 Mon Sep 17 00:00:00 2001 From: Annika Merris Date: Sun, 12 May 2024 14:23:41 -0400 Subject: [PATCH] Secret --- hosts/kim/annika.nix | 17 ----------------- hosts/kim/configuration.nix | 2 +- 2 files changed, 1 insertion(+), 18 deletions(-) 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; };