Skip to content

macOS as Code! A beginner-friendly nix-darwin + home-manager + flakes startup configuration. 一份易于理解的 nix-darwin 初始配置模板,专为新手制作.

License

Notifications You must be signed in to change notification settings

eztakesin/nix-darwin-kickstarter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nix Darwin Kickstarter

A beginner-friendly nix-darwin + home-manager + flakes startup configuration.

The primary objective of this repository is to assist beginners in comprehending the fundamental setup of nix-darwin, enabling them to swiftly initiate their own nix-darwin configuration.

A modified template versions is available:

  • macbook: An extensive demo featuring a plethora of configurations that can serve as a reference for your setup. However, exercise caution, as it may OVERWRITE your system configuration. DO NOT deploy it directly to your system.

Why nix-darwin

Nix-darwin facilitates the management of your macOS system configuration and dotfiles in a declarative manner. You can effortlessly revert to any previous configuration, making it a robust tool for system customization. Sharing configurations becomes seamless, and managing multiple macOS hosts is a breeze with nix-darwin.

Usage

nix build .#darwinConfigurations.macbook.system
sudo ./result/sw/bin/darwin-rebuild switch --flake .#macbook

Showcases

References

About

macOS as Code! A beginner-friendly nix-darwin + home-manager + flakes startup configuration. 一份易于理解的 nix-darwin 初始配置模板,专为新手制作.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published