diff options
Diffstat (limited to 'hostnix')
| -rw-r--r-- | hostnix/weebnix/configuration.nix | 1 | ||||
| -rw-r--r-- | hostnix/weebnix/privacy-frontends.nix | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/hostnix/weebnix/configuration.nix b/hostnix/weebnix/configuration.nix index a879185..a1c1420 100644 --- a/hostnix/weebnix/configuration.nix +++ b/hostnix/weebnix/configuration.nix @@ -6,6 +6,7 @@ ./hardware-configuration.nix ./home-assistant.nix ./oidc.nix + ./privacy-frontends.nix ./syncthing.nix ./system.nix ]; diff --git a/hostnix/weebnix/privacy-frontends.nix b/hostnix/weebnix/privacy-frontends.nix new file mode 100644 index 0000000..b312155 --- /dev/null +++ b/hostnix/weebnix/privacy-frontends.nix @@ -0,0 +1,15 @@ +{ ... }: + +{ + services.libreddit = { + enable = true; + address = "[::1]"; + port = 7682; + }; + + services.nginx.virtualHosts."lr.weebnix.mou.fo" = { + enableACME = true; + forceSSL = true; + locations."/".proxyPass = "http://[::1]:7682"; + }; +} |
