From 05cf178c7a42c9d2b6481276258e2c5a3426f866 Mon Sep 17 00:00:00 2001 From: magic_rb Date: Sat, 7 Oct 2023 22:48:54 +0200 Subject: [PATCH] Assign default values to service attrs in microvm-extras Signed-off-by: magic_rb --- nixos/modules/microvm-extras-host.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/microvm-extras-host.nix b/nixos/modules/microvm-extras-host.nix index e2a226b..a9274a2 100644 --- a/nixos/modules/microvm-extras-host.nix +++ b/nixos/modules/microvm-extras-host.nix @@ -91,14 +91,17 @@ in services = { tcpUdp = mkOption { type = with types; types.attrsOf (submodule tcpUdpServiceOptions); + default = {}; }; icmp = mkOption { type = with types; types.attrsOf (submodule icmpServiceOptions); + default = {}; }; http = mkOption { type = with types; types.attrsOf (submodule httpServiceOptions); + default = {}; }; };