From 073321ee0c220352f2288296ac28887cc015d971 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Thu, 24 Apr 2025 16:23:17 +0200 Subject: [PATCH] revert: dislike plausible, will be using `umami` once https://github.com/NixOS/nixpkgs/pull/380249 is merged --- modules/services/plausible.nix | 35 ---------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 modules/services/plausible.nix diff --git a/modules/services/plausible.nix b/modules/services/plausible.nix deleted file mode 100644 index 0ae3d3b..0000000 --- a/modules/services/plausible.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ - config, - ... -}: -let - domain = "analyze.liv.town"; -in -{ - services = { - nginx.virtualHosts.${domain} = { - forceSSL = true; - locations."/".proxyPass = "http://127.0.0.1:${toString config.services.plausible.server.port}"; - }; - - plausible = { - enable = true; - - adminUser = { - # activate is used to skip the email verification of the admin-user that's - # automatically created by plausible. This is only supported if - # postgresql is configured by the module. This is done by default, but - # can be turned off with services.plausible.database.postgres.setup. - activate = true; - email = "${config.liv.email}"; - # passwordFile = config.age.secrets.plausibleAdminPassword.path; - }; - - server = { - baseUrl = "https://${domain}"; - secretKeybaseFile = "/home/liv/secrets/plausibleKeybaseFile"; - port = 5829; - }; - }; - }; -}