Fix formatting for net-services config
This commit is contained in:
parent
239033d716
commit
2024601135
@ -1,15 +1,17 @@
|
|||||||
{ config, pkgs, ...}:
|
{ config, pkgs, ...}:
|
||||||
|
|
||||||
{
|
{
|
||||||
networking.vlans."net-services" = {
|
networking.vlans."net-services" = {
|
||||||
id = 10;
|
id = 10;
|
||||||
interface = "ens18";
|
interface = "ens18";
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.interfaces.net-services.ipv4.addresses = [
|
networking.interfaces.net-services.ipv4.addresses = [
|
||||||
{ address = "10.42.10.2"; prefixLength = 24; }
|
{ address = "10.42.10.2"; prefixLength = 24; }
|
||||||
];
|
];
|
||||||
networking.interfaces.net-services.ipv6.addresses = [
|
networking.interfaces.net-services.ipv6.addresses = [
|
||||||
{ address = "2a01:4f8:1c0c:8221::2"; prefixLength = 64; }
|
{ address = "2a01:4f8:1c0c:8221::2"; prefixLength = 64; }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Everyone is allowed reaching this, no firewall therefore
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user