mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-22 08:04:20 +01:00
Assign default values to service attrs in microvm-extras
Signed-off-by: magic_rb <richard@brezak.sk>
This commit is contained in:
parent
c16147f323
commit
05cf178c7a
|
@ -91,14 +91,17 @@ in
|
||||||
services = {
|
services = {
|
||||||
tcpUdp = mkOption {
|
tcpUdp = mkOption {
|
||||||
type = with types; types.attrsOf (submodule tcpUdpServiceOptions);
|
type = with types; types.attrsOf (submodule tcpUdpServiceOptions);
|
||||||
|
default = {};
|
||||||
};
|
};
|
||||||
|
|
||||||
icmp = mkOption {
|
icmp = mkOption {
|
||||||
type = with types; types.attrsOf (submodule icmpServiceOptions);
|
type = with types; types.attrsOf (submodule icmpServiceOptions);
|
||||||
|
default = {};
|
||||||
};
|
};
|
||||||
|
|
||||||
http = mkOption {
|
http = mkOption {
|
||||||
type = with types; types.attrsOf (submodule httpServiceOptions);
|
type = with types; types.attrsOf (submodule httpServiceOptions);
|
||||||
|
default = {};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue