From 10b0df38b4286237b56ff9177f8d4c5676bfb5c1 Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 30 Oct 2023 04:22:32 -0400 Subject: tree-wide: refactor i went overboard on modules. this is much comfier --- systems/atlas/miniflux.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 systems/atlas/miniflux.nix (limited to 'systems/atlas/miniflux.nix') diff --git a/systems/atlas/miniflux.nix b/systems/atlas/miniflux.nix new file mode 100644 index 0000000..df1c761 --- /dev/null +++ b/systems/atlas/miniflux.nix @@ -0,0 +1,16 @@ +{config, ...}: { + config = { + age.secrets = { + miniflux.file = ../../secrets/systems/${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