-
-
Notifications
You must be signed in to change notification settings - Fork 312
Recipes for being a happy Nixer on a Mac #1104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 2 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
d658893
Recipes for being a happy Nixer on a Mac
zupo 46e0d53
Update macos
zupo 5aec5ec
wip: native
zupo 4863308
determinate systems installer over official
zupo a3f32af
Update source/guides/recipes/macos
zupo e9f9261
gardening and keep-vm-state
zupo 24ca829
ephemeral
zupo 2690d3b
garden
zupo d7120d8
link to matrix channel
zupo 7459182
Initial UTM instructions
zupo 7312671
apple virtualization
zupo 288f889
how to rerun tests
zupo 322282b
rosetta for x86
zupo 1c72f13
Update source/guides/recipes/macos
zupo bb7dc08
clarification that apple virt is needed for rosetta
zupo e2b7681
vscode remote
zupo 95fc75a
platform error
zupo 9ea279b
vscode debugging
zupo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # Nix(OS) development on macOS | ||
|
|
||
| Over the recent years, the Nix(OS) community have made great strides in adding support for macOS. Today, it is possible to use Macs for comfortable Nix(OS) development. | ||
|
|
||
| # Nix on macOS | ||
|
|
||
| First, you need to install Nix on your macOS. Using the [Official Installer](https://nixos.org/download) is a good start. If you need help, follow https://nixcademy.com/posts/nix-on-macos/. | ||
|
|
||
| # Controlling your macOS settings with Nix | ||
|
|
||
| Imagine having a `configuration.nix` file for your macOS configuration. This is actually entirely possible, using https://github.com/lnL7/nix-darwin/. Follow the README or this nice writeup: https://nixcademy.com/posts/nix-on-macos/#-step-2-going-declarative-with-nix-darwin. | ||
|
|
||
| # NixOS in a Virtual Machine | ||
|
|
||
| Use UTM. | ||
| TODO: install docs. | ||
|
|
||
| # NixOS tests on macOS | ||
|
|
||
| A big part of developing for Nix(OS) are the NixOS Integration Tests. There are two ways to run them on your Mac. | ||
|
|
||
| TODO: interactive mode | ||
| TODO: remote builder | ||
|
|
||
| ## Natively via Linux Builder | ||
|
|
||
| ## Nested Virtualization | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.