diff options
Diffstat (limited to 'hosts/laurel')
-rw-r--r-- | hosts/laurel/configuration.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/hosts/laurel/configuration.nix b/hosts/laurel/configuration.nix index 74e2948..08679bc 100644 --- a/hosts/laurel/configuration.nix +++ b/hosts/laurel/configuration.nix | |||
@@ -100,6 +100,18 @@ | |||
100 | }; | 100 | }; |
101 | }; | 101 | }; |
102 | 102 | ||
103 | services.podgrab = { | ||
104 | enable = true; | ||
105 | port = 3434; | ||
106 | }; | ||
107 | services.nginx.virtualHosts."podcast.laurel" = { | ||
108 | listen = [{ port = 80; addr = "0.0.0.0"; }]; | ||
109 | locations."/" = { | ||
110 | proxyPass = "http://127.0.0.1:${builtins.toString config.services.podgrab.port}"; | ||
111 | proxyWebsockets = true; | ||
112 | }; | ||
113 | }; | ||
114 | |||
103 | nix.settings.experimental-features = [ "nix-command" "flakes" ]; | 115 | nix.settings.experimental-features = [ "nix-command" "flakes" ]; |
104 | 116 | ||
105 | # This option defines the first version of NixOS you have installed on this particular machine, | 117 | # This option defines the first version of NixOS you have installed on this particular machine, |