Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion nixos-modules/host/options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@
] ++ (map (x: x.value) defs);
prefix = [ "microvm" "vms" name "config" ];
inherit (config) specialArgs pkgs;
system = if config.pkgs != null then config.pkgs.system else pkgs.system;
system =
if config.pkgs != null then
config.pkgs.stdenv.hostPlatform.system
else
pkgs.stdenv.hostPlatform.system;
});
});
};
Expand Down