mkdir -p ~/.config/nix-darwin
cd ~/.config/nix-darwin
nix flake init -t nix-darwin
sed -i '' "s/simple/$(scutil --get LocalHostName)/" flake.nix
# Make sure to change nixpkgs.hostPlatform to aarch64-darwin if you are using Apple Silicon.
nix run --extra-experimental-features nix-command \
--extra-experimental-features flakes \
nix-darwin -- switch --flake ~/.config/nix-darwin
-
Notifications
You must be signed in to change notification settings - Fork 0
ivarref/nix
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published