summaryrefslogtreecommitdiffstats
path: root/nixos/modules/profiles
diff options
context:
space:
mode:
authorMichael Hoang <enzime@users.noreply.github.com>2023-06-07 12:41:59 +1000
committerMichael Hoang <enzime@users.noreply.github.com>2023-07-06 21:32:08 +1000
commit98d970bc375c37a2f9c5c276d80ae2a3d8b1e4a5 (patch)
treea740cce8f08ec5b752302f27ce29da51faf48b5d /nixos/modules/profiles
parent285f5e858eb204ecf08a60c40a99aee1d2dc7bd1 (diff)
nixos/qemu-vm: use CA certificates from host
Diffstat (limited to 'nixos/modules/profiles')
-rw-r--r--nixos/modules/profiles/macos-builder.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/profiles/macos-builder.nix b/nixos/modules/profiles/macos-builder.nix
index f1c991d6ffa6..7ed68f06476b 100644
--- a/nixos/modules/profiles/macos-builder.nix
+++ b/nixos/modules/profiles/macos-builder.nix
@@ -234,6 +234,10 @@ in
# This ensures that anything built on the guest isn't lost when the guest is
# restarted.
writableStoreUseTmpfs = false;
+
+ # Pass certificates from host to the guest otherwise when custom CA certificates
+ # are required we can't use the cached builder.
+ useHostCerts = true;
};
};
}