If on a new laptop, install NixOS normally, and then create a new module in
hosts/ using the hardware configuration generated by the Nix installer. Then:
git clone git@github.com:owickstrom/nixos ~/nixos
-
sprucesudo nixos-rebuild switch --flake "$HOME/nixos#spruce" -
antithesis-laptopsudo nixos-rebuild switch --flake "$HOME/nixos#antithesis-laptop" --impure --option substituters 'https://cache.nixos.org' -
antithesis-desktopsudo nixos-rebuild switch --flake "$HOME/nixos#antithesis-desktop" --impure --option substituters 'https://cache.nixos.org'