21 lines
581 B
Markdown
21 lines
581 B
Markdown
# hacc nixfiles
|
|
|
|
welcome to hacc nixfiles (haccfiles). this is the code describing our nix-based infrastructure.
|
|
|
|
## structure
|
|
|
|
- `default.nix`: Entrypoint to the config
|
|
- `common/`: configuration common to all hosts
|
|
- `desktop/`: desktop-relevant communication
|
|
- `modules/`: home-grown modules for hacc-specific services
|
|
- `nix/`: sources files, managed with niv
|
|
- `pkgs/`: packages we built and don't want to upstream
|
|
|
|
## working with the haccfiles
|
|
|
|
deploy:
|
|
``` shell
|
|
nix build -f . deploy.$hostname && ./result switch
|
|
```
|
|
|
|
`$hostname` can be replaced with any hostname or group
|