Source cleanups and renaming. Module inhousing & changes.

This commit is contained in:
kat witch 2021-07-04 21:50:13 +01:00
parent af9e6394aa
commit b310c0306a
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
28 changed files with 315 additions and 119 deletions

View file

@ -4,15 +4,15 @@
with lib;
{
katnet.public.tcp.ports = [ 5160 5060 ];
katnet.public.udp.ports = [ 5160 5060 ];
kw.fw.public.tcp.ports = [ 5160 5060 ];
kw.fw.public.udp.ports = [ 5160 5060 ];
katnet.public.tcp.ranges = [{
kw.fw.public.tcp.ranges = [{
from = 10000;
to = 20000;
}];
katnet.public.udp.ranges = [{
kw.fw.public.udp.ranges = [{
from = 10000;
to = 20000;
}];

View file

@ -1,7 +1,7 @@
{ config, pkgs, ... }:
{
katnet.private.tcp.ports = [ 3100 ];
kw.fw.private.tcp.ports = [ 3100 ];
services.loki = {
enable = true;
configuration = {

View file

@ -3,8 +3,8 @@
with lib;
{
katnet.public.tcp.ports = singleton 64738;
katnet.public.udp.ports = singleton 64738;
kw.fw.public.tcp.ports = singleton 64738;
kw.fw.public.udp.ports = singleton 64738;
services.murmur = {
enable = true;

View file

@ -1,7 +1,7 @@
{ config, ... }:
{
katnet.private.tcp.ports = [ 19999 ];
kw.fw.private.tcp.ports = [ 19999 ];
services.netdata = { enable = true; };

View file

@ -12,8 +12,8 @@ with lib;
'';
};
katnet.public.tcp.ports = [ 443 80 ];
katnet.private.tcp.ports = [ 443 80 ];
kw.fw.public.tcp.ports = [ 443 80 ];
kw.fw.private.tcp.ports = [ 443 80 ];
services.nginx = {
enable = true;

View file

@ -1,7 +1,7 @@
{ config, ... }:
{
katnet.private.tcp.ports = [ 9002 ];
kw.fw.private.tcp.ports = [ 9002 ];
services.prometheus = {
exporters = {

View file

@ -8,7 +8,7 @@ with lib;
users.groups."sync-cert".members = [ "nginx" "syncplay" ];
security.acme = { certs."sync.kittywit.ch" = { group = "sync-cert"; }; };
katnet.public.tcp.ports = singleton 8999;
kw.fw.public.tcp.ports = singleton 8999;
services.nginx.virtualHosts."sync.kittywit.ch" = {
enableACME = true;

View file

@ -3,7 +3,7 @@
with lib;
{
katnet.public.tcp.ports = singleton 53589;
kw.fw.public.tcp.ports = singleton 53589;
services.taskserver = {
enable = true;

View file

@ -3,7 +3,7 @@
with lib;
{
katnet.public.tcp.ports = [ 5000 5222 5223 5269 580 5281 5347 5582 ];
kw.fw.public.tcp.ports = [ 5000 5222 5223 5269 580 5281 5347 5582 ];
services.postgresql = {
ensureDatabases = [ "prosody" ];