added some beginning docu

This commit is contained in:
Dennis Frieberg 2023-06-12 12:02:01 +02:00
parent 65521a121c
commit 8132dae08a
Signed by: nerf
GPG key ID: 1EC6F5573876CC80
3 changed files with 19 additions and 3 deletions

View file

@ -1,3 +1,13 @@
# nixMail
# nixConfig
a try to configure a nixOS mail server
## Build a machine
### Local
If you want to build the machineconfiguration for machine <name>
run
```
nix build .#nixosConfiguration.<name>
```
### On the machine
clone this repo to `/etc/nixos/` and `nixos-rebuild` that will select
the appropriate machine based on hostname