nix-darwin

用于 Darwin 的 nix 模块。「nix modules for darwin」

Github星跟踪图

nix-darwin

Build Status

Nix modules for darwin, /etc/nixos/configuration.nix for macOS.

Install

nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer
./result/bin/darwin-installer

or if you run into problems with that, try the older bootstrap.sh script

NOTE: the system activation scripts don't overwrite existing etc files, so files like /etc/bashrc and /etc/zshrc won't be
updated by default. If you didn't use the installer or skipped some of the options you'll have to take care of this yourself.
Either modify the existing file to source/import the one from /etc/static or remove it. Some examples:

  • mv /etc/bashrc /etc/bashrc.orig
  • `echo 'if test -e /etc/static/bashrc; then . /etc/static/bashrc; fi'

主要指标

概览
名称与所有者nix-darwin/nix-darwin
主编程语言Nix
编程语言Nix (语言数: 2)
平台Mac
许可证MIT License
所有者活动
创建于2016-10-16 14:26:46
推送于2025-06-06 07:38:02
最后一次提交2025-06-06 07:19:53
发布数0
用户参与
星数4.1k
关注者数34
派生数523
提交数2.2k
已启用问题?
问题数711
打开的问题数257
拉请求数549
打开的拉请求数97
关闭的拉请求数150
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?