From f3e9d7f84bfc569b5bf85c43d1b25d8770b0d7b4 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Sun, 19 Nov 2023 21:24:27 +0100 Subject: [PATCH] darwin.linux-builder: Disable installer tools --- nixos/modules/profiles/macos-builder.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/profiles/macos-builder.nix b/nixos/modules/profiles/macos-builder.nix index 5454b29f2eb9..6c2602881d6b 100644 --- a/nixos/modules/profiles/macos-builder.nix +++ b/nixos/modules/profiles/macos-builder.nix @@ -112,6 +112,9 @@ in environment.extraSetup = '' rm --force $out/bin/{nix-instantiate,nix-build,nix-shell,nix-prefetch*,nix} ''; + # Deployment is by image. + # TODO system.switch.enable = false;? + system.disableInstallerTools = true; nix.settings = { auto-optimise-store = true;