Add freshrss
As services.freshss wasn't working and not logging in, I've used Docker for this.
This commit is contained in:
parent
d12041ba46
commit
50c8d8ae18
3 changed files with 108 additions and 0 deletions
19
nix/modules/nixos/features/homelab/freshrss/default.nix
Normal file
19
nix/modules/nixos/features/homelab/freshrss/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ 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" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue