Fixes all of the problems with nix flake check, including reformatting all the things cleanup on shell and configuration
16 lines
302 B
Nix
16 lines
302 B
Nix
{ ... }:
|
|
let
|
|
wikiHost = "wiki.icdm.lan";
|
|
kiwixport = 8080;
|
|
in
|
|
{
|
|
services.kiwix-serve = {
|
|
enable = true;
|
|
port = kiwixport;
|
|
path = "/srv/zims/*.zim";
|
|
};
|
|
|
|
greg.proxies."${wikiHost}".target = "http://localhost:${toString kiwixport}";
|
|
networking.firewall.allowedTCPPorts = [ 80 ];
|
|
}
|