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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?