nixos/README.md

24 lines
No EOL
366 B
Markdown

# Installation
`<hostname>` is default to `hostname` command but it can be overwritten
Build only
```bash
nixos-rebuild build --flake .#<hostname>
```
Build and switch
```bash
nixos-rebuild switch --flake .#<hostname>
```
Build script to activate in current shell
```bash
nix build .#hmConfig.<hostname>.activationPackage
```
with
```bash
./result/activate
```