mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
22 lines
415 B
Nix
22 lines
415 B
Nix
|
|
{ ... }:
|
||
|
|
|
||
|
|
{
|
||
|
|
services = {
|
||
|
|
lidarr = {
|
||
|
|
enable = true;
|
||
|
|
};
|
||
|
|
|
||
|
|
nginx.virtualHosts = {
|
||
|
|
"listen.liv.town" = {
|
||
|
|
forceSSL = true;
|
||
|
|
sslCertificate = "/var/lib/acme/liv.town/cert.pem";
|
||
|
|
sslCertificateKey = "/var/lib/acme/liv.town/key.pem";
|
||
|
|
locations."/" = {
|
||
|
|
proxyPass = "http://127.0.0.1:8686/";
|
||
|
|
proxyWebsockets = true;
|
||
|
|
};
|
||
|
|
};
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|