This repository has been converted into a Flake and moved back to my primary system configuration repo. Everything here is still functional as a normal nix setup for non-nixOS machines using niv for dependency management. The project is still forkable but will no longer be updated.
Run the following to perform a multi-user installation for darwin or standard linux. On macOS, use the additional flag --darwin-use-unencrypted-nix-store-volume
.
sh <(curl -L https://nixos.org/nix/install) --daemon
Clone this repository into ~/.nixpkgs
with
git clone https://github.com/kclejeune/nix-server-config ~/.nixpkgs
Use
nix-shell --run "rebuild"
to bootstrap home-manager on the system and install the first generation.
The few leftover homebrew packages and brew casks are stored in ~/Brewfile
. They can be installed using cd ~ && brew bundle
.