From 1f4a2fa244d7f4002a8db7649ae000f634b294ce Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Sat, 3 Jun 2023 15:34:54 +0200 Subject: nixos: update to 23.05 - remove ihatemoney (deprecated) - personal website: update uncss --- config/services/web/default.nix | 2 +- config/services/web/money/default.nix | 28 ---------------------------- 2 files changed, 1 insertion(+), 29 deletions(-) delete mode 100644 config/services/web/money/default.nix (limited to 'config/services/web') diff --git a/config/services/web/default.nix b/config/services/web/default.nix index 1711f34..e4feec4 100644 --- a/config/services/web/default.nix +++ b/config/services/web/default.nix @@ -1,7 +1,7 @@ { pkgs, ... }: { - imports = [ ./money ./quentin ./rss ./searx ./webkeydirectory ]; + imports = [ ./quentin ./rss ./searx ./webkeydirectory ]; security.acme = { acceptTerms = true; diff --git a/config/services/web/money/default.nix b/config/services/web/money/default.nix deleted file mode 100644 index 3a9f58b..0000000 --- a/config/services/web/money/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, config, ... }: - -let cfg = config.services.ihatemoney; -in { - services.nginx.virtualHosts.money = lib.mkIf cfg.enable { - serverName = "money.${config.networking.domain}"; - forceSSL = true; - enableACME = true; - locations."/".proxyPass = "http://127.0.0.1${cfg.uwsgiConfig.http}/"; - }; - - services.ihatemoney = { - enable = true; - enableAdminDashboard = true; - adminHashedPassword = - "pbkdf2:sha256:150000$s78RCYkJ$9c15a62ed1c89625cb78b5bde87d03b6dd1a03831afa4dbb2abb15ea4c1e150b"; - uwsgiConfig = { http = ":8000"; }; - }; - - services.opensmtpd = lib.mkIf cfg.enable { - enable = true; - serverConfiguration = '' - listen on lo - action block mda "cat >/dev/null" - match from any for any action block - ''; - }; -} -- cgit v1.2.3