snippetbashTip
darwin-rebuild — Rebuild and switch to a Nix-based Darwin (macOS) system configuration. More information: <https://gi
Viewed 0 times
rebuildcommandanddarwin-rebuildclinixbasedswitch
macos
Problem
How to use the
darwin-rebuild command: Rebuild and switch to a Nix-based Darwin (macOS) system configuration. More information: <https://github.com/nix-darwin/nix-darwin>.Solution
darwin-rebuild — Rebuild and switch to a Nix-based Darwin (macOS) system configuration. More information: <https://github.com/nix-darwin/nix-darwin>.Rebuild and switch to the specified Darwin configuration:
darwin-rebuild switch --flake {{path/to/flake}}Build the configuration but don't switch to it:
darwin-rebuild build --flake {{path/to/flake}}Display help:
darwin-rebuild --helpCode Snippets
Rebuild and switch to the specified Darwin configuration
darwin-rebuild switch --flake {{path/to/flake}}Build the configuration but don't switch to it
darwin-rebuild build --flake {{path/to/flake}}Display help
darwin-rebuild --helpContext
tldr-pages: osx/darwin-rebuild
Revisions (0)
No revisions yet.