mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-06-05 15:59:29 +02:00
Grigory Shipunov
280dc15420
Create user-stop-box for dell wyse, first steps to rpi4 image. Refactor parameters passed to gnuradio and telegram-decoder into proper options, make configs stateful (so users can edit them). Rearrage files a bit.
21 lines
436 B
Nix
21 lines
436 B
Nix
{ pkgs, lib, config, ... }: {
|
|
services = {
|
|
nginx = {
|
|
enable = true;
|
|
recommendedProxySettings = true;
|
|
virtualHosts = {
|
|
"docs.${config.dump-dvb.domain}" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
locations = {
|
|
"/" = {
|
|
root = "${pkgs.dvb-dump-docs}/bin/";
|
|
index = "index.html";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|