Skip to content

Commit 1c31a58

Browse files
committed
nixos-modules/microvm/options: fix firecracker.extraConfig type
1 parent 2c0e70e commit 1c31a58

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nixos-modules/microvm/options.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,9 @@ in
597597
};
598598

599599
firecracker.extraConfig = mkOption {
600-
type = types.attrs;
600+
type = types.submodule {
601+
freeformType = (pkgs.formats.json {}).type;
602+
};
601603
default = {};
602604
description = "Extra config to merge into Firecracker JSON configuration";
603605
};

0 commit comments

Comments
 (0)