summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2023-11-19 21:24:27 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-11-28 16:47:28 +0000
commit33831fc31bf018431e9074b355ade54b3090540e (patch)
tree815243f4fc8f8ba6f1105a115463b4dde5d09222
parentnixos/system.disableInstallerTools: Do define options without effect (diff)
downloadnixpkgs-origin/backport-268574-to-release-23.11.tar.gz
darwin.linux-builder: Disable installer toolsorigin/backport-268574-to-release-23.11
(cherry picked from commit f3e9d7f84bfc569b5bf85c43d1b25d8770b0d7b4)
-rw-r--r--nixos/modules/profiles/macos-builder.nix3
1 files changed, 3 insertions, 0 deletions
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;