nixos/README.md

366 B

Installation

<hostname> is default to hostname command but it can be overwritten

Build only

nixos-rebuild build --flake .#<hostname>

Build and switch

nixos-rebuild switch --flake .#<hostname>

Build script to activate in current shell

nix build .#hmConfig.<hostname>.activationPackage

with

./result/activate