This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

services.radio: fix openweather_api_key secret

+11 -1
+11 -1
2configs/services/radio/weather.nix
··· 53 53 serviceConfig = { 54 54 User = "radio-news"; 55 55 LoadCredential = [ 56 - "openweather_api:${config.krebs.secret.directory}/openweather_api_key" 56 + "openweather_api:${config.clanCore.facts.services.weather.secret.openweather_api_key.path}" 57 57 ]; 58 58 }; 59 + }; 60 + clanCore.facts.services.weather = { 61 + secret."openweather_api_key" = { }; 62 + generator.script = '' 63 + cat > "$secrets"/openweather_api_key; 64 + ''; 65 + generator.prompt = '' 66 + goto https://openweathermap.org/appid and get an api key 67 + ''; 68 + 59 69 }; 60 70 }