add bridge on desktop1 and a test httpd container to test network
This commit is contained in:
@@ -8,13 +8,10 @@
|
||||
|
||||
networking.hostName = "desktop1";
|
||||
|
||||
networking.bridges.br0.interfaces = [ ];
|
||||
networking.interfaces.br0.ipv4.addresses = [
|
||||
{
|
||||
address = "10.0.0.1";
|
||||
prefixLength = 24;
|
||||
}
|
||||
];
|
||||
networking.bridges.br0.interfaces = [ "enp4s0" ];
|
||||
networking.interfaces.br0.ipv4.addresses = [ { address = "192.168.1.146"; prefixLength = 24; } ];
|
||||
networking.defaultGateway = "192.168.1.254";
|
||||
networking.nameservers = [ "192.168.1.137" "192.168.1.49" ];
|
||||
|
||||
smayzy = {
|
||||
desktop.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user