From 802544575ffda78e9367196870d0dc2bb18e4838 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sun, 23 Mar 2025 19:11:27 +0000 Subject: [PATCH] fixes for read key --- .../modules/nmasur/presets/services/arr/arr.nix | 2 +- .../presets/services/arr/readarr-api-key.age | 17 +++++++++++++++++ .../nixos/modules/nmasur/profiles/home.nix | 1 - 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 platforms/nixos/modules/nmasur/presets/services/arr/readarr-api-key.age diff --git a/platforms/nixos/modules/nmasur/presets/services/arr/arr.nix b/platforms/nixos/modules/nmasur/presets/services/arr/arr.nix index b81a076..15bd0f0 100644 --- a/platforms/nixos/modules/nmasur/presets/services/arr/arr.nix +++ b/platforms/nixos/modules/nmasur/presets/services/arr/arr.nix @@ -243,7 +243,7 @@ in prefix = "API_KEY="; }; secrets.readarrApiKey = { - source = ./radarr-api-key.age; + source = ./readarr-api-key.age; dest = "/var/private/readarr-api"; prefix = "API_KEY="; }; diff --git a/platforms/nixos/modules/nmasur/presets/services/arr/readarr-api-key.age b/platforms/nixos/modules/nmasur/presets/services/arr/readarr-api-key.age new file mode 100644 index 0000000..01ff0d4 --- /dev/null +++ b/platforms/nixos/modules/nmasur/presets/services/arr/readarr-api-key.age @@ -0,0 +1,17 @@ +-----BEGIN AGE ENCRYPTED FILE----- +YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IE1nSGFPdyBRRXo3 +ZmpER1kyWC9JUld3WVVTS0owb1RRZFhzNHRtT0dickJhbnQ1UWxRCjBIR3JxbGho +c2h0bk8vV2lta2NzcXl0OXZYTzJ0ZkhNV3lPTVl0ZjQ0b00KLT4gc3NoLWVkMjU1 +MTkgWXlTVU1RIHlMWW4zNnJCTGNwcFRxOTQrTldzRFlENGd1TG4yRFJSQlhnSHVL +TGlWdzAKMlZ4L0thbFZQWjZ0c3pJaE1XNmRtZmNKVTIxeTkwMFFGYWxKZTRMV3h0 +VQotPiBzc2gtZWQyNTUxOSBuanZYNUEgbm5pVE0zYzNQTW15c01DRk1HeDRLVlRW +aGpkVUFHdG13THNDL1JlbEUyawp6SWQ5Nm1veDdwbCtDbjZPUkhQU0hkRXE1b1RY +ZkxHY0ZqMFdvcGJ6WitvCi0+IHNzaC1lZDI1NTE5IENxSU9VQSBWeE1LaU5TRkpK +bElLQWNidHZQeTF6Yk80ZzVlL005RTEyZzlDR2dTSGg0CkdZK2VDSGtMTE43VWRY +ZnA0cDRKc016OVYvZGpDcDFad3o5YmpoOGhVNGsKLT4gc3NoLWVkMjU1MTkgejFP +Y1p3IDBEV3pWVEI3QjFRUnRjK0VPZFF6U09iTHljOE9jZ1lka1lpbU9BSEtOeFUK +RlF0WEFBMElzU1pOdDBEenUrWEhsaFkrTWpUc0gzb1hVRjVpUGpyc25FcwotLS0g +aXhPbUtHWXc4MXJ4bUtZOWlkdVNOMmo1N1U2NXlxdU5VVXltZXh5aDRyWQoCjoWs +rOf41MK9789YHLzXMZNbMoWt9tHGfOGZKOyPhYFq/j2d88ZLtzEHAuHKvQ561ffK +Si0uTiTcTCyhCr/rsQ== +-----END AGE ENCRYPTED FILE----- diff --git a/platforms/nixos/modules/nmasur/profiles/home.nix b/platforms/nixos/modules/nmasur/profiles/home.nix index f1575a1..5ccc645 100644 --- a/platforms/nixos/modules/nmasur/profiles/home.nix +++ b/platforms/nixos/modules/nmasur/profiles/home.nix @@ -20,7 +20,6 @@ in # Configure physical power buttons logind.enable = lib.mkDefault true; avahi.enable = lib.mkDefault true; - prometheus-remote-write.enable = lib.mkDefault true; }; # Enable automatic timezone updates based on location