From 6b141251f5bc9f73b5d6bb8f7ab4b486da654bf5 Mon Sep 17 00:00:00 2001 From: Yifei Sun Date: Sun, 1 Dec 2024 19:38:46 -0500 Subject: [PATCH] modules: remove unused plausible configs --- hosts/server/lagern/plausible.nix | 13 +------------ secrets.nix | 1 - secrets/plausible.adm.age | 9 --------- 3 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 secrets/plausible.adm.age diff --git a/hosts/server/lagern/plausible.nix b/hosts/server/lagern/plausible.nix index 645d4d69..c4cc267c 100644 --- a/hosts/server/lagern/plausible.nix +++ b/hosts/server/lagern/plausible.nix @@ -3,7 +3,6 @@ { services.caddy.enable = true; - age.secrets."plausible.adm".file = ../../../secrets/plausible.adm.age; age.secrets."plausible.goo".file = ../../../secrets/plausible.goo.age; age.secrets."plausible.mal".file = ../../../secrets/plausible.mal.age; age.secrets."plausible.mmd".file = ../../../secrets/plausible.mmd.age; @@ -25,21 +24,11 @@ package = pkgs.plausible.overrideAttrs (_: { prePatch = '' - # use the following for all versions after 2.0.0 - # substituteInPlace lib/plausible_web/templates/layout/app.html.heex \ - - substituteInPlace lib/plausible_web/templates/layout/app.html.eex \ + substituteInPlace lib/plausible_web/templates/layout/app.html.heex \ --replace-warn '' '' ''; }); - adminUser = { - activate = true; - email = "ysun@hey.com"; - name = "Yifei Sun"; - passwordFile = config.age.secrets."plausible.adm".path; - }; - mail = { email = "noreply@stepbrobd.com"; smtp = { diff --git a/secrets.nix b/secrets.nix index 605e77e8..330cf390 100644 --- a/secrets.nix +++ b/secrets.nix @@ -18,7 +18,6 @@ in "secrets/tailscale.age".publicKeys = ysun ++ [ walberla ]; - "secrets/plausible.adm.age".publicKeys = ysun ++ [ lagern ]; "secrets/plausible.goo.age".publicKeys = ysun ++ [ lagern ]; "secrets/plausible.mal.age".publicKeys = ysun ++ [ lagern ]; "secrets/plausible.mmd.age".publicKeys = ysun ++ [ lagern ]; diff --git a/secrets/plausible.adm.age b/secrets/plausible.adm.age deleted file mode 100644 index 6e2ce8a8..00000000 --- a/secrets/plausible.adm.age +++ /dev/null @@ -1,9 +0,0 @@ -age-encryption.org/v1 --> ssh-ed25519 8iCk8Q /KZXpG5CFJq9ZwOgmvYsdmrKU5KAcLCdx/Kkwsxm/RU -B+KAlWQi61ge2xjG/nGZeGLbjMLiXdpzxLUWsDAp/U0 --> ssh-ed25519 YqPlcw cyF16FXfWxFgzEnMPj5GHneJZoHYSMakv+dVO3m0VA4 -AnqBDV1m9qF3QBdnQAbFQfgD/7Sh0GnHgiGZ6P5rzjU --> ssh-ed25519 YHVAHw 6wZTudXlh80xXEM9Kih5Yri6iAtxMmoIiIQQS+7+yTs -q072Vx7yXtsxRNNZXeG6JGY8UAinYX4+kKnCE5AYyEI ---- bWjXYsSWbz8uH/qAhkmikE1lHewtp1s8vYLCMUeADX8 -ýÆٕןl h ,EÍýî[ùÑ…Ç,ñ©·º!á6.yëY_§gÍ`/\Tƒ¸g\ù%8 FÜ» \ No newline at end of file