{ pkgs, ... }: with import ./network.nix; let domain = "reddit.giugl.io"; in { services = { libreddit = { enable = true; port = 9090; }; nginx.virtualHosts.${domain} = { forceSSL = true; enableACME = true; locations."/" = { proxyPass = "http://localhost:9090"; }; }; }; networking.extraHosts = '' ${architect-lan} ${domain} ${architect-wg} ${domain} ''; }