krebs.types.net.tinc: add default
This commit is contained in:
parent
02bac2c7a0
commit
ba9bb73817
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user