forked from fediversity/fediversity
rm apparently unnecessary gateway stuff
Signed-off-by: Kiara Grouwstra <kiara@procolix.eu>
This commit is contained in:
parent
aea15084fd
commit
c6cfe9eef9
1 changed files with 0 additions and 13 deletions
|
|
@ -80,26 +80,13 @@ in
|
|||
prefixLength = 24;
|
||||
}
|
||||
];
|
||||
# Timed out waiting for device /sys/subsystem/net/devices/br0
|
||||
interfaces.br0.ipv4.addresses = [
|
||||
{
|
||||
address = "192.168.1.3";
|
||||
prefixLength = 24;
|
||||
}
|
||||
];
|
||||
nat = {
|
||||
enable = true;
|
||||
# Timed out waiting for device /sys/subsystem/net/devices/br0
|
||||
externalInterface = "br0";
|
||||
internalInterfaces = [ "br-vm" ];
|
||||
};
|
||||
};
|
||||
boot.kernel.sysctl."net.ipv4.ip_forward" = "1";
|
||||
|
||||
networking.defaultGateway = {
|
||||
interface = "br0";
|
||||
address = "192.168.1.1";
|
||||
};
|
||||
users.users.root = {
|
||||
password = "mytestpw";
|
||||
hashedPasswordFile = lib.mkForce null;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue