Skip to content

[AVI-248] Add Darwin System Config for VM Builders#148

Open
jeffcshelton wants to merge 4 commits into
mainfrom
dev/AVI-248/sys-config
Open

[AVI-248] Add Darwin System Config for VM Builders#148
jeffcshelton wants to merge 4 commits into
mainfrom
dev/AVI-248/sys-config

Conversation

@jeffcshelton

Copy link
Copy Markdown
Member

No description provided.

@jeffcshelton jeffcshelton self-assigned this May 5, 2026
@jeffcshelton
jeffcshelton requested review from Nughm3 and acr12856 May 5, 2026 23:35

@Nughm3 Nughm3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good but I don't run MacOS or Nix at the moment so I can't really say for sure

Comment thread os/profiles/embedded.nix
system = {
disableInstallerTools = false;
extraDependencies = lib.mkForce [ ];
switch.enable = false;

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does reduce image size a bit, but it completely eliminates the ability to update embedded machines without reflashing the entire OS. I don't think it's a good idea as a blanket rule, but may be applicable to individual machines. Either way, it has nothing to do with Darwin machines and shouldn't be in this PR.

Comment thread os/dev/darwin.nix
virtualisation = {
cores = 4;

darwin-builder = {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@acr12856 didn't you have an issue compiling this for the first time, since the builder parameters are changed? We need to make sure that first-time users can compile it with a single command.

Comment thread tel/default.nix
platform = enumerateTargets ./platform;
};

nixpkgsFixes = final: prev: {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what led to the inclusion of this, but I would highly recommend against it since it seems like a bodge fix that doesn't address some underlying issue. You should never have to do this, and it gives major code smells that an AI agent found some problem and made a hacky fix without understanding the underlying problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants