hosts: add vlan100
This commit is contained in:
parent
381c862e6f
commit
098c9f44cc
@ -110,10 +110,20 @@
|
||||
|
||||
networking = {
|
||||
useDHCP = false; # Deprecated
|
||||
hostName = "hades";
|
||||
hostName = "nas";
|
||||
domain = "home.opel-online.de";
|
||||
networkmanager = {
|
||||
enable = true;
|
||||
};
|
||||
timeServers = [
|
||||
"192.168.2.1"
|
||||
];
|
||||
vlans = {
|
||||
vlan100 = {
|
||||
id = 100;
|
||||
interface = "enp34s0";
|
||||
};
|
||||
};
|
||||
interfaces = {
|
||||
enp34s0 = {
|
||||
useDHCP = true; # For versatility sake, manually edit IP on nm-applet.
|
||||
@ -124,6 +134,10 @@
|
||||
};
|
||||
};
|
||||
#defaultGateway = "192.168.0.1";
|
||||
defaultGateway6 = {
|
||||
address = "fe80::1";
|
||||
interface = "enp34s0";
|
||||
};
|
||||
#nameservers = [ "192.168.0.4" ];
|
||||
#firewall = {
|
||||
# enable = false;
|
||||
|
@ -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 = {
|
||||
|
@ -14,6 +14,7 @@
|
||||
users.groups.libvirtd.members = [ "root" "${user}" ];
|
||||
|
||||
virtualisation = {
|
||||
vswitch.enable = true;
|
||||
libvirtd = {
|
||||
enable = true; # Virtual drivers
|
||||
#qemuPackage = pkgs.qemu_kvm; # Default
|
||||
|
Loading…
Reference in New Issue
Block a user