diff options
| author | Seth Flynn <[email protected]> | 2025-02-20 04:19:27 -0500 |
|---|---|---|
| committer | Seth Flynn <[email protected]> | 2025-02-20 04:19:27 -0500 |
| commit | a8cb1f33b2c0ea49c434b5f251fe45938d050f6a (patch) | |
| tree | 8d5f992762727b93228452278db64332b844c407 /systems/atlas/miniflux.nix | |
| parent | 257d26ce3886ee8778565d8c214848d64a40ff0d (diff) | |
nixos: include nginx proxies in mixins
Diffstat (limited to 'systems/atlas/miniflux.nix')
| -rw-r--r-- | systems/atlas/miniflux.nix | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/systems/atlas/miniflux.nix b/systems/atlas/miniflux.nix deleted file mode 100644 index 14c9fc5..0000000 --- a/systems/atlas/miniflux.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ - config, - secretsDir, - ... -}: - -{ - age.secrets.miniflux.file = secretsDir + "/miniflux.age"; - - services = { - miniflux = { - enable = true; - adminCredentialsFile = config.age.secrets.miniflux.path; - config = { - BASE_URL = "https://miniflux.${config.networking.domain}"; - LISTEN_ADDR = "localhost:7000"; - METRICS_COLLECTOR = 1; - }; - }; - - nginx.virtualHosts = { - "miniflux.getchoo.com" = { - locations."/" = { - proxyPass = "http://${config.services.miniflux.config.LISTEN_ADDR}"; - }; - }; - }; - }; - - /* - # Create the socket manually to ensure NGINX has permission for the socket's parent directory - # ...since for some reason Miniflux will not give it the same `0777` permission as the socket itself - systemd = { - services.miniflux = { - requires = [ "miniflux.socket" ]; - }; - - sockets.miniflux = { - wantedBy = [ "sockets.target" ]; - listenStreams = [ "/run/miniflux.sock" ]; - }; - }; - */ -} |
