From 97cd189caa217fe761cef04e2d918ba39ac93388 Mon Sep 17 00:00:00 2001 From: ed209 Date: Fri, 2 Jan 2026 12:24:31 -0500 Subject: [PATCH] feat: add contents of config into the ISO to prevent rebuilding I got this from the NixOS matrix and it prevents spending CPU cycles each installation building the config. Not part of the public API. --- hosts/iso/iso.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/iso/iso.nix b/hosts/iso/iso.nix index 4747097..e61b86c 100644 --- a/hosts/iso/iso.nix +++ b/hosts/iso/iso.nix @@ -21,6 +21,7 @@ # Enable flakes and new 'nix' command experimental-features = "nix-command flakes"; }; + isoImage.storeContents = [outputs.nixosConfigurations.sachiel.config.system.build.toplevel]; services.xserver = { enable = true; windowManager.i3.enable = true; -- 2.51.2