yevaud: Disable networkd
Just so much more trouble than it's worth - NixOS containers are really not designed to work with it
This commit is contained in:
parent
dfe00fabb4
commit
9cf30613f4
2 changed files with 0 additions and 13 deletions
|
@ -14,18 +14,6 @@
|
|||
];
|
||||
networking.firewall.allowedUDPPorts = [ 51821 ];
|
||||
|
||||
# RA = Router Advertisement (how a host finds a gateway IPv6 address for
|
||||
# SLAAC or DHCPv6).
|
||||
# networkd usually defaults this to true, but instead defaults it to false
|
||||
# for ALL networks if ANY network has IPv6Forwarding enabled, on the
|
||||
# (reasonable) assumption that a host doing IP forwarding is probably a
|
||||
# network bridge.
|
||||
# The kernel's RA implementation does this too, and the NixOS networking.nat
|
||||
# module explicitly overrides that with sysctl, but networkd doesn't pay
|
||||
# attention to that.
|
||||
# We thus explicitly enable it, as otherwise external IPv6 is broken.
|
||||
systemd.network.networks."40-ens3".networkConfig.IPv6AcceptRA = true;
|
||||
|
||||
containers."pennykettle1" = {
|
||||
privateNetwork = true;
|
||||
extraVeths."ve-pennykettle1" = {
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
networking.useNetworkd = true;
|
||||
networking.interfaces.ens3.useDHCP = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue