krebs.types.net.tinc: add default

This commit is contained in:
tv 2015-07-27 02:45:03 +02:00
parent 02bac2c7a0
commit ba9bb73817

View File

@ -55,7 +55,7 @@ types // rec {
type = listOf hostname; type = listOf hostname;
}; };
tinc = mkOption { tinc = mkOption {
type = let net-config = config; in submodule ({ config, ... }: { type = let net-config = config; in nullOr (submodule ({ config, ... }: {
options = { options = {
config = mkOption { config = mkOption {
type = str; type = str;
@ -70,7 +70,8 @@ types // rec {
type = str; type = str;
}; };
}; };
}); }));
default = null;
}; };
}; };
}); });