This repository manages system configurations for all of my OSX based machines. The system configurations are defined as a flake.nix.
nix-darwin
andhome-manager
configurations are decoupled. Meaning both can be used independently.home-manager
can be (is) used as a module withinnix-darwin
. Seecommon.nix
file.
# bootstrap home-manager
hm = import ./home-manager;
home-manager
is fully compatible as a standalone configuration, managed with thehome-manager
CLI - this requires standalone installation.- flake outputs define platform specific
darwinConfigurations
and home profile specific configurationshomeConfigurations
.
Run the installer script to perform a multi-user installation. The installer also installs nix-darwin
, since it doesn't work with flakes out of the box.
./bin/install_nix.sh
Clone this repository into ~/Developer
:
[email protected]:richban/dotfiles.git
Bootstrap a nix-darwin
system using:
nix --extra-experimental-features "nix-command flakes" develop -c sysdo bootstrap --darwin
Bootstrap a home-manager
configuration using:
nix --extra-experimental-features "nix-command flakes" develop -c sysdo bootstrap --home-manager