File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,12 +141,6 @@ in {
141141 ++ optional cfg . sonarr . enable "sonarr-config.service" ;
142142 wants = [ "network-online.target" ] ;
143143 wantedBy = mkForce [ "multi-user.target" ] ;
144-
145- serviceConfig = {
146- LoadCredential =
147- optional cfg . radarr . enable "radarr-api_key:${ nixflix . radarr . config . apiKeyPath } "
148- ++ optional cfg . sonarr . enable "sonarr-api_key:${ nixflix . sonarr . config . apiKeyPath } " ;
149- } ;
150144 } ;
151145 }
152146 // cleanupProfilesServices ;
Original file line number Diff line number Diff line change 1010 radarr = {
1111 radarr_main = {
1212 base_url = "http://127.0.0.1:${ toString nixflix . radarr . config . hostConfig . port } ${ toString nixflix . radarr . config . hostConfig . urlBase } " ;
13- api_key . _secret = "/run/credentials/recyclarr.service/ radarr-api_key" ;
13+ api_key . _secret = nixflix . radarr . config . apiKeyPath ;
1414 delete_old_custom_formats = true ;
1515 replace_existing_custom_formats = true ;
1616
Original file line number Diff line number Diff line change 1010 sonarr = {
1111 sonarr_main = {
1212 base_url = "http://127.0.0.1:${ toString nixflix . sonarr . config . hostConfig . port } ${ toString nixflix . sonarr . config . hostConfig . urlBase } " ;
13- api_key . _secret = "/run/credentials/recyclarr.service/ sonarr-api_key" ;
13+ api_key . _secret = nixflix . sonarr . config . apiKeyPath ;
1414 delete_old_custom_formats = true ;
1515 replace_existing_custom_formats = true ;
1616
You can’t perform that action at this time.
0 commit comments