X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=blobdiff_plain;f=systems%2Feldiron%2Fwebsites%2Ftools%2Fttrss.nix;fp=modules%2Fprivate%2Fwebsites%2Ftools%2Ftools%2Fttrss.nix;h=639325631d43c16954e5304adb924c553675f311;hp=1dc99ed0446bd9491c1248e866d191b526316d86;hb=1a64deeb894dc95e2645a75771732c6cc53a79ad;hpb=fa25ffd4583cc362075cd5e1b4130f33306103f0 diff --git a/modules/private/websites/tools/tools/ttrss.nix b/systems/eldiron/websites/tools/ttrss.nix similarity index 72% rename from modules/private/websites/tools/tools/ttrss.nix rename to systems/eldiron/websites/tools/ttrss.nix index 1dc99ed..6393256 100644 --- a/modules/private/websites/tools/tools/ttrss.nix +++ b/systems/eldiron/websites/tools/ttrss.nix @@ -13,13 +13,36 @@ rec { ${varDir}/cache/simplepie/ \ ${varDir}/cache/upload/ touch ${varDir}/feed-icons/index.html - install -m 0750 -o ${apache.user} -g ${apache.group} -d ${varDir}/phpSessions ''; }; + chatonsProperties = { + file.datetime = "2022-08-21T22:50:00"; + service = { + name = "RSS"; + description = "Tiny Tiny RSS is a free and open source web-based news feed (RSS/Atom) reader and aggregator"; + website = "https://tools.immae.eu/ttrss/"; + logo = "https://tools.immae.eu/ttrss/images/favicon.png"; + status.level = "OK"; + status.description = "OK"; + registration."" = ["MEMBER" "CLIENT"]; + registration.load = "OPEN"; + install.type = "PACKAGE"; + }; + software = { + name = "Tiny Tiny RSS"; + website = "https://tt-rss.org/"; + license.url = "https://www.gnu.org/copyleft/gpl.html"; + license.name = "GNU General Public License Version 3"; + version = webRoot.version; + source.url = "https://git.tt-rss.org/fox/tt-rss.git/"; + modules = map (p: p.pluginName) webRoot.plugins; + }; + }; keys."webapps/tools-ttrss" = { user = apache.user; group = apache.group; permissions = "0400"; + keyDependencies = [ php ]; text = '' Tiny Tiny RSS"]; + + servicegroups = "webstatus-webapps"; + _webstatus_name = "TT-RSS"; + _webstatus_url = "https://tools.immae.eu/ttrss/"; + } + ]; }