dnsmasq static hosts defaults to empty attrset

This commit is contained in:
Daniel Barlow 2023-09-04 23:02:17 +01:00
parent 0cf4733327
commit 899f096346

View file

@ -43,6 +43,7 @@ in {
type = types.listOf types.str; type = types.listOf types.str;
}; };
hosts = mkOption { hosts = mkOption {
default = {};
type = types.attrsOf (types.submodule { type = types.attrsOf (types.submodule {
options = { options = {
mac = mkOption { mac = mkOption {