dotfiles/nix/modules/nixos/features/homelab/freshrss/default.nix
Oliver Davies 50c8d8ae18 Add freshrss
As services.freshss wasn't working and not logging in, I've used Docker
for this.
2024-12-26 00:13:42 +00:00

20 lines
332 B
Nix

{ pkgs, lib, ... }:
let
port = 4003;
in
{
imports = [ ./container.nix ];
services.nginx = {
enable = true;
virtualHosts."freshrss.davies.home".locations."/".proxyPass = "http://localhost:${toString port}/";
};
# TODO: move to pihole.
networking.hosts = {
"127.0.0.1" = [ "freshrss.davies.home" ];
};
}