feat(meta): Makes it mandatory to declare gateways for an interface

The list might still be empty when using DHCP
This commit is contained in:
Tom Hubrecht 2024-02-24 14:53:05 +01:00
parent 02c573c526
commit 73ddca82a8

View file

@ -169,7 +169,6 @@ in
gateways = mkOption { gateways = mkOption {
type = listOf str; type = listOf str;
default = [ ];
description = '' description = ''
List of gateways used by the interface. List of gateways used by the interface.
''; '';
@ -251,6 +250,4 @@ in
''; '';
}; };
}; };
config = { };
} }