clekstro / system

Declarative nixOS and nix-darwin configuration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nix System Configuration

system build

Installing Nix Package Manager

Run the following to perform a multi-user installation for darwin or standard linux. This step is skipped on NixOS.

macOS

sh <(curl -L https://nixos.org/nix/install) --daemon --darwin-use-unencrypted-nix-store-volume

Linux

    sh <(curl -L https://nixos.org/nix/install) --daemon

System Bootstrapping

Clone this repository into ~/.nixpkgs with

git clone https://github.com/kclejeune/system ~/.nixpkgs

You can bootstrap a new system using

cd ~/.nixpkgs && nix-shell --run "darwinInstall"

or run the build only with darwinTest instead of darwinInstall.

Installing Homebrew dependencies

The few leftover homebrew packages and brew casks are stored in ~/Brewfile. They can be installed using cd ~ && brew bundle.

About

Declarative nixOS and nix-darwin configuration

License:MIT License


Languages

Language:Nix 71.6%Language:Shell 16.0%Language:Vim Script 9.7%Language:Ruby 2.7%