Skip to content

macs: create darwin bootstrap closure#995

Merged
mweinelt merged 8 commits into
mainfrom
mdm-bootstrap
May 14, 2026
Merged

macs: create darwin bootstrap closure#995
mweinelt merged 8 commits into
mainfrom
mdm-bootstrap

Conversation

@mweinelt
Copy link
Copy Markdown
Member

@mweinelt mweinelt commented Apr 2, 2026

No description provided.

Copy link
Copy Markdown
Contributor

@jfly jfly left a comment

Choose a reason for hiding this comment

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

I don't have experience with nix-darwin. Once we install a fancier profile than the bootstrap one, do we need to worry about the MDM custom command we wrote deploying the bootstrap configuration (thereby reverting the fancier profile)?

LGTM!

Comment thread macs/flake-module.nix
@arianvp
Copy link
Copy Markdown
Member

arianvp commented Apr 4, 2026

Currently I have the profile configured to continuously execute. So it would undo it yes. We could perhaps write the script to either use bootstrap or the static hostname if the hostname is not present in the flake we fallback to bootstrap?

Comment thread macs/minimal.nix Outdated
@mweinelt mweinelt marked this pull request as ready for review May 14, 2026 01:26
@mweinelt mweinelt requested a review from a team as a code owner May 14, 2026 01:26
@mweinelt
Copy link
Copy Markdown
Member Author

mweinelt commented May 14, 2026

Currently I have the profile configured to continuously execute. So it would undo it yes. We could perhaps write the script to either use bootstrap or the static hostname if the hostname is not present in the flake we fallback to bootstrap?

That's not a blocker for this change, right?

This includes now two new workarounds that should make our life easier:

  • regular log erase
  • regular fseventsd killing

@jfly
Copy link
Copy Markdown
Contributor

jfly commented May 14, 2026

I think this is good to merge as is. IIUC, it only becomes a problem if/when we have fancier profiles.

@mweinelt mweinelt added this pull request to the merge queue May 14, 2026
Merged via the queue into main with commit 1be08cc May 14, 2026
14 checks passed
@mweinelt mweinelt deleted the mdm-bootstrap branch May 14, 2026 03:26
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