nixConfig/README.md

13 lines
318 B
Markdown

# nixConfig
## Build a machine
### Local
If you want to build the machineconfiguration for machine <name>
run
```
nix build .#nixosConfiguration.<name>.config.system.build.toplevel
```
### On the machine
clone this repo to `/etc/nixos/` and `nixos-rebuild` that will select
the appropriate machine based on hostname