dhcp
This commit is contained in:
parent
ed07847d4c
commit
12c5f518ec
|
@ -64,6 +64,7 @@ in {
|
||||||
# Configure networking
|
# Configure networking
|
||||||
networking = {
|
networking = {
|
||||||
domain = "mccarty.io";
|
domain = "mccarty.io";
|
||||||
|
useDHCP = true;
|
||||||
interfaces.enp6s0.useDHCP = true;
|
interfaces.enp6s0.useDHCP = true;
|
||||||
nat.externalInterface = "enp6s0";
|
nat.externalInterface = "enp6s0";
|
||||||
# Open ports for soulseek and weylus
|
# Open ports for soulseek and weylus
|
||||||
|
|
|
@ -34,4 +34,5 @@ in {
|
||||||
[ "f /dev/shm/looking-glass 0660 nathan qemu-libvirtd -" ];
|
[ "f /dev/shm/looking-glass 0660 nathan qemu-libvirtd -" ];
|
||||||
# Setup bridge
|
# Setup bridge
|
||||||
networking.bridges = { "qemu-br0" = { interfaces = [ "enp6s0" ]; }; };
|
networking.bridges = { "qemu-br0" = { interfaces = [ "enp6s0" ]; }; };
|
||||||
|
networking.interfaces."qemu-br0".useDHCP = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue