From 3a7cc8116cce947f5652e0e46f4d60d59bfb5717 Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 21 May 2023 21:20:28 -0400 Subject: atlas: start hosting miniflux --- hosts/atlas/miniflux.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 hosts/atlas/miniflux.nix (limited to 'hosts/atlas/miniflux.nix') diff --git a/hosts/atlas/miniflux.nix b/hosts/atlas/miniflux.nix new file mode 100644 index 0000000..a7886e6 --- /dev/null +++ b/hosts/atlas/miniflux.nix @@ -0,0 +1,20 @@ +{ + config, + self, + ... +}: { + config = { + age.secrets = { + miniflux.file = "${self}/secrets/hosts/${config.networking.hostName}/miniflux.age"; + }; + + services.miniflux = { + enable = true; + adminCredentialsFile = config.age.secrets.miniflux.path; + config = { + BASE_URL = "https://miniflux.${config.networking.domain}"; + LISTEN_ADDR = "localhost:7000"; + }; + }; + }; +} -- cgit v1.2.3