diff --git a/applications/media.nix b/applications/media.nix index c731c47..f2d9c2f 100644 --- a/applications/media.nix +++ b/applications/media.nix @@ -135,6 +135,13 @@ in wants = [ "rclone-music.service" ]; enable = true; }; + # Load up lastfm scrobbling secret + sops.secrets.lastfm-conf = { + owner = "nathan"; + format = "binary"; + sopsFile = ../secrets/lastfm.conf; + }; + # Same for the scanning service systemd.user.services.mopidy-scan = { description = "Mopidy files local scanner"; diff --git a/flake.nix b/flake.nix index 8fceebd..9233018 100644 --- a/flake.nix +++ b/flake.nix @@ -77,12 +77,6 @@ sops.defaultSopsFile = ./secrets/nathan.yaml; # Use system ssh key as an age key sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; - # Load up lastfm scrobbling secret - sops.secrets.lastfm-conf = { - owner = "nathan"; - format = "binary"; - sopsFile = ./secrets/lastfm.conf; - }; }) ]; coreModules = baseModules ++ sopsModules ++ [