summaryrefslogtreecommitdiffstats
path: root/nixos/modules/profiles
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2023-11-19 21:24:27 +0100
committerRobert Hensing <robert@roberthensing.nl>2023-11-19 21:33:58 +0100
commitf3e9d7f84bfc569b5bf85c43d1b25d8770b0d7b4 (patch)
tree8d90d38147889a1f9d34d33603523d604661a4ba /nixos/modules/profiles
parent64b587e3e22dc078cd4c73d2d8f5331d8321ae65 (diff)
darwin.linux-builder: Disable installer tools
Diffstat (limited to 'nixos/modules/profiles')
-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;