kw.fw reorganising

This commit is contained in:
kat witch 2021-08-08 03:46:00 +01:00
parent afa161955d
commit dc6982c5ce
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
7 changed files with 44 additions and 24 deletions

View file

@ -77,8 +77,10 @@ with lib;
# Firewall
kw.fw.public.interfaces = singleton "enp1s0";
kw.fw.private.interfaces = singleton "yggdrasil";
kw.fw = {
public.interfaces = singleton "enp1s0";
private.interfaces = singleton "yggdrasil";
};
# Host-specific DNS Config

View file

@ -79,10 +79,14 @@ with lib;
interfaces.eno1.useDHCP = true;
};
kw.dns.ipv4 = "192.168.1.223";
# Firewall
kw.fw.private.interfaces = singleton "yggdrasil";
kw.fw.public.interfaces = singleton "eno1";
kw.fw = {
private.interfaces = singleton "yggdrasil";
public.interfaces = singleton "eno1";
};
# Yggdrasil

View file

@ -119,9 +119,12 @@ in {
# Firewall
kw.fw.private.interfaces = singleton "yggdrasil";
kw.fw.public.interfaces = singleton "br";
kw.fw.private.tcp.ports = [ 10445 ]; # VM Prometheus
kw.fw = {
public.interfaces = singleton "br";
private = {
interfaces = singleton "yggdrasil";
};
};
# Host-specific DNS Config

View file

@ -65,8 +65,10 @@ with lib;
# Firewall
kw.fw.private.interfaces = singleton "yggdrasil";
kw.fw.public.interfaces = [ "enp1s0" "wlp2s0" ];
kw.fw = {
public.interfaces = [ "enp1s0" "wlp2s0" ];
private.interfaces = singleton "yggdrasil";
};
# Yggdrasil