mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-06-05 07:49:24 +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.
18 lines
334 B
Nix
18 lines
334 B
Nix
{ pkgs, lib, config, ... }: {
|
|
services.nginx = {
|
|
enable = true;
|
|
virtualHosts = {
|
|
"${config.dump-dvb.domain}" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
locations."/" = {
|
|
extraConfig = ''
|
|
return 307 https://docs.dvb.solutions;
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|