![Terminal Screenshot](/richban/system/raw/master/docs/img/terminal.png)
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.
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
Clone this repository into ~/.nixpkgs
:
git clone https://github.com/kclejeune/system ~/.nixpkgs
Bootstrap a new system using:
nix run .#sysdo bootstrap