nixos/networkd: Add an assertion for unsupported rstp

This commit is contained in:
William A. Kennington III 2015-02-24 13:09:06 -08:00
parent d378324166
commit e453f99446

View File

@ -35,7 +35,10 @@ in
assertions = [ {
assertion = cfg.defaultGatewayWindowSize == null;
message = "networking.defaultGatewayWindowSize is not supported by networkd.";
} ];
} ] ++ flip mapAttrsToList cfg.bridges (n: { rstp, ... }: {
assertion = !rstp;
message = "networking.bridges.${n}.rstp is not supported by networkd.";
});
systemd.services.dhcpcd.enable = mkDefault false;