hosts: add vlan100

This commit is contained in:
2023-01-21 19:02:08 +01:00
parent 381c862e6f
commit 098c9f44cc
3 changed files with 35 additions and 6 deletions

View File

@@ -180,6 +180,15 @@
networkmanager = {
enable = false;
};
timeServers = [
"192.168.2.1"
];
vlans = {
vlan100 = {
id = 100;
interface = "enp0s31f6";
};
};
interfaces = {
enp0s31f6 = {
useDHCP = true; # For versatility sake, manually edit IP on nm-applet.
@@ -194,12 +203,17 @@
};
};
# defaultGateway = "45.142.114.1";
# defaultGateway6 = {
# address = "fe80::1";
# interface = "ens18";
# };
#
defaultGateway6 = {
address = "fe80::1";
interface = "enp0s31f6";
};
# nameservers = [ "9.9.9.9" "2620:fe::fe" ];
#firewall = {
# enable = false;
# #allowedUDPPorts = [ 53 67 ];
# #allowedTCPPorts = [ 53 80 443 9443 ];
#};
};
};
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
powerManagement = {