about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--lib/call-machine.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/call-machine.nix b/lib/call-machine.nix
index 16abb9d2..d5b8239a 100644
--- a/lib/call-machine.nix
+++ b/lib/call-machine.nix
@@ -33,13 +33,13 @@ let
 
   mkIso = isoModule: extraConfig: let
     wrapIso = { config, pkgs, lib, ... }@attrs: let
-      isoEval = (import isoModule attrs);
+      isoEval = import isoModule attrs;
       isoEvalcfg = isoEval.config or {};
       bootcfg = isoEvalcfg.boot or {};
       fscfg = isoEvalcfg.fileSystems or {};
     in {
       options = isoEval.options or {};
-      imports = isoEval.imports or [ extraConfig ];
+      imports = (isoEval.imports or []) ++ [ extraConfig ];
       config = isoEvalcfg // {
         boot = bootcfg // lib.optionalAttrs (bootcfg ? loader) {
           loader = lib.mkForce bootcfg.loader;