From a618f8c8594280bbb5c4a445233a31925dff159c Mon Sep 17 00:00:00 2001 From: notohh Date: Fri, 1 Sep 2023 08:52:06 -0400 Subject: [PATCH] yuki: remove kanboard, miniflux --- hosts/yuki/services/default.nix | 2 -- hosts/yuki/services/kanboard.nix | 12 ------------ hosts/yuki/services/miniflux.nix | 16 ---------------- hosts/yuki/services/traefik.nix | 12 ------------ 4 files changed, 42 deletions(-) delete mode 100644 hosts/yuki/services/kanboard.nix delete mode 100644 hosts/yuki/services/miniflux.nix diff --git a/hosts/yuki/services/default.nix b/hosts/yuki/services/default.nix index 1a1402f..18c7957 100644 --- a/hosts/yuki/services/default.nix +++ b/hosts/yuki/services/default.nix @@ -2,11 +2,9 @@ imports = [ ./restic.nix ./traefik.nix - ./kanboard.nix ./stash.nix ./searxng.nix ./homarr.nix ./dashdot.nix - ./miniflux.nix ]; } diff --git a/hosts/yuki/services/kanboard.nix b/hosts/yuki/services/kanboard.nix deleted file mode 100644 index 56c716b..0000000 --- a/hosts/yuki/services/kanboard.nix +++ /dev/null @@ -1,12 +0,0 @@ -_: { - virtualisation.oci-containers.containers.kanboard = { - image = "kanboard/kanboard:v1.2.30"; - ports = [ - "8080:80" - ]; - volumes = [ - "/var/lib/kanboard/kanboard_data:/var/www/app/data" - "/var/lib/kanboard/kanboard_plugins:/var/www/app/plugins" - ]; - }; -} diff --git a/hosts/yuki/services/miniflux.nix b/hosts/yuki/services/miniflux.nix deleted file mode 100644 index aeee66b..0000000 --- a/hosts/yuki/services/miniflux.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ - config, - lib, - ... -}: { - networking.firewall.allowedTCPPorts = [8200]; - sops.secrets.miniflux = {}; - services.miniflux = { - enable = true; - config = { - DATABASE_URL = lib.mkForce "host=192.168.1.211 port=5432 user=miniflux password=miniflux dbname=miniflux sslmode=disable"; - LISTEN_ADDR = "localhost:8200"; - }; - adminCredentialsFile = config.sops.secrets.miniflux.path; - }; -} diff --git a/hosts/yuki/services/traefik.nix b/hosts/yuki/services/traefik.nix index 6ea3c15..ab2cae6 100644 --- a/hosts/yuki/services/traefik.nix +++ b/hosts/yuki/services/traefik.nix @@ -20,11 +20,6 @@ _: { entryPoints = ["web"]; service = "searxng"; }; - kanboard = { - rule = "Host(`kanboard.home.arpa`)"; - entryPoints = ["web"]; - service = "kanboard"; - }; stash = { rule = "Host(`stash.home.arpa`)"; entrypoints = ["web"]; @@ -35,19 +30,12 @@ _: { entrypoints = ["web"]; service = "dashdot"; }; - miniflux = { - rule = "Host(`news.home.arpa`)"; - entrypoints = ["web"]; - service = "miniflux"; - }; }; services = { - kanboard.loadBalancer.servers = [{url = "http://localhost:8080";}]; stash.loadBalancer.servers = [{url = "http://localhost:9999";}]; homarr.loadBalancer.servers = [{url = "http://localhost:7575";}]; dashdot.loadBalancer.servers = [{url = "http://localhost:4000";}]; searxng.loadBalancer.servers = [{url = "http://localhost:8100";}]; - miniflux.loadBalancer.servers = [{url = "http://localhost:8200";}]; }; }; };