blob: d0d07d5ca4990ac29f87c82f21d4f3df045944bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{ config, lib, ... }:
with config.krebs.lib;
{
krebs.nginx = {
servers.default.locations = [
(nameValuePair "= /etc/os-release" ''
default_type text/plain;
alias /etc/os-release;
'')
];
};
tv.iptables = optionalAttrs config.krebs.nginx.enable {
input-retiolum-accept-tcp = singleton "http";
};
}
|