simplify deployment/nixos.nix

This commit is contained in:
Kiara Grouwstra 2025-08-31 17:34:03 +02:00
parent cc66348444
commit 2be2c45fdc
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -11,13 +11,15 @@ let
};
modules = [ configuration ];
};
os = {
toplevel =
{
inherit (eval) pkgs config options;
system = eval.config.system.build.toplevel;
inherit (eval.config.system.build) vm vmWithBootLoader;
};
}
.config.system.build.toplevel;
in
{
drv_path = os.config.system.build.toplevel.drvPath;
out_path = os.config.system.build.toplevel;
drv_path = toplevel.drvPath;
out_path = toplevel;
}