From c1e07bd7acc93364e468d1ba2e256b5a289055b0 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Tue, 19 Dec 2023 12:41:03 +0800 Subject: [PATCH] lib/images: allow setting system modularly for `mkHost` --- lib/images.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/images.nix b/lib/images.nix index 73202ce1..6b84f58c 100644 --- a/lib/images.nix +++ b/lib/images.nix @@ -25,6 +25,10 @@ in (lib'.makeOverridable nixosSystem) { lib = lib'; modules = extraModules; + + # Since we're setting it through nixpkgs.hostPlatform, we'll have to pass + # this as null. + system = null; }; # A thin wrapper around the home-manager configuration function.