Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 517 Bytes

README.md

File metadata and controls

25 lines (13 loc) · 517 Bytes

Nix(OS) config files

Setup

First, install nix via Determinate Nix Installer.

On macOS, install nix-darwin

nix run nix-darwin -- switch --flake .

Build system from flakes:

On Darwin:

darwin-rebuild switch --flake .#<host>

On NixOS:

cp /etc/nixos/hardware-configuration.nix ./hosts/<host>/hardware-configuration.nix
sudo nixos-rebuild switch --flake .#<host>

On Linux:

nix run nixpkgs#home-manager -- switch --flake .#Linux