Oliver Davies
50c8d8ae18
As services.freshss wasn't working and not logging in, I've used Docker for this.
20 lines
332 B
Nix
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" ];
|
|
};
|
|
}
|