From 88422e8302cfe0b96ee8f14e7df88c21a4fd2d06 Mon Sep 17 00:00:00 2001 From: Tyler Starr Date: Sun, 26 Nov 2023 21:04:02 -0800 Subject: [PATCH] remove tt-rss --- provision/hosts/torus/configuration.nix | 1 - provision/hosts/torus/tt-rss.nix | 45 ------------------------- 2 files changed, 46 deletions(-) delete mode 100644 provision/hosts/torus/tt-rss.nix diff --git a/provision/hosts/torus/configuration.nix b/provision/hosts/torus/configuration.nix index ae565f07..1de9bdbe 100644 --- a/provision/hosts/torus/configuration.nix +++ b/provision/hosts/torus/configuration.nix @@ -7,7 +7,6 @@ ./syncthing.nix ./obsidian-vault.nix ./share.nix - ./tt-rss.nix ]; nix = { diff --git a/provision/hosts/torus/tt-rss.nix b/provision/hosts/torus/tt-rss.nix deleted file mode 100644 index d4f14a0c..00000000 --- a/provision/hosts/torus/tt-rss.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ config, lib, pkgs, user, ... }: -{ - services.postgresql = { - enable = true; - package = pkgs.postgresql_15; - ensureDatabases = ["tt_rss"]; - ensureUsers = [ - { - name = "tt_rss"; - ensureDBOwnership = true; - } - ]; - # type, database, user, [address], auth-method, [auth-options] - #authentication = '' - # local all all trust - #''; - }; - services.postgresqlBackup.enable = true; - - systemd.services.tt-rss = { - requires = ["postgresql.service"]; - after = ["postgresql.service"]; - }; - - services.tt-rss = { - enable = true; - virtualHost = "rss1.tstarr.us"; - selfUrlPath = "https://rss1.tstarr.us"; - database = { - type = "pgsql"; - createLocally = false; - name = "tt_rss"; - user = "tt_rss"; - password = null; - }; - singleUserMode = true; - }; - - services.nginx = { - virtualHosts."rss1.tstarr.us" = { - enableACME = true; - forceSSL = true; - }; - }; -}