Skip to content

Commit a5d3266

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

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
@@ -613,7 +613,9 @@ in
613613
};
614614

615615
firecracker.extraConfig = mkOption {
616-
type = types.attrs;
616+
type = types.submodule {
617+
freeformType = (pkgs.formats.json {}).type;
618+
};
617619
default = {};
618620
description = "Extra config to merge into Firecracker JSON configuration";
619621
};

0 commit comments

Comments
 (0)