nixConfig/README.md

14 lines
318 B
Markdown
Raw Normal View History

2023-06-12 10:02:01 +00:00
# nixConfig
2023-06-11 12:59:47 +00:00
2023-06-12 10:02:01 +00:00
## Build a machine
### Local
If you want to build the machineconfiguration for machine <name>
run
```
2023-06-12 10:24:36 +00:00
nix build .#nixosConfiguration.<name>.config.system.build.toplevel
2023-06-12 10:02:01 +00:00
```
### On the machine
clone this repo to `/etc/nixos/` and `nixos-rebuild` that will select
the appropriate machine based on hostname