summaryrefslogtreecommitdiffstats
path: root/tv/2configs/nginx/default.nix
blob: 277f459f08feaf53eb3dd37a95dd97a981473ada (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ config, lib, ... }:

with import <stockholm/lib>;

{
  services.nginx = {
    virtualHosts.default = {
      locations."= /etc/os-release".extraConfig = ''
        default_type text/plain;
        alias /etc/os-release;
      '';
    };
  };
  tv.iptables = {
    input-retiolum-accept-tcp = singleton "http";
  };
}