NixOS-Config/nixos/server/docker.nix

19 lines
433 B
Nix
Raw Normal View History

2024-08-26 14:29:23 -04:00
let
secrets = import ../modules/secrets.nix;
in {
2024-08-24 22:16:51 -04:00
virtualisation.docker = {
enable = true;
daemon.settings.log-driver = "json-file";
};
2024-08-26 14:29:23 -04:00
# Azuracast Nginx: TODO, get a better solution than docker lmao
services.nginx.virtualHosts."radio.${secrets.jimDomain}" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:255";
proxyWebsockets = true;
};
};
2024-08-24 22:16:51 -04:00
}