commit 899f096346b67369639c6256aa248ce753deaba7
parent 0cf4733327af74fce4302e4417cab16d7932cd92
Author: Daniel Barlow <dan@telent.net>
Date: Mon, 4 Sep 2023 23:02:17 +0100
dnsmasq static hosts defaults to empty attrset
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/modules/dnsmasq/default.nix b/modules/dnsmasq/default.nix
@@ -43,6 +43,7 @@ in {
type = types.listOf types.str;
};
hosts = mkOption {
+ default = {};
type = types.attrsOf (types.submodule {
options = {
mac = mkOption {