nix/README.md

45 lines
No EOL
863 B
Markdown

# Nix - LaSuite Federez
## Onboarding:
You will need at least nix installed on you machine
### Wireguard
Add your publickeys into ./shared/users-wg.nix
Create the following interfaces:
```
[interface]
Address = 172.19.128.<id>/32
Address = fc00:f::128:<i>/128
PrivateKey = <private.key>
[Peer]
PublicKey = nePNA6RDzgNeSC7deXqeoK2rGGei65tBNnCEN6ZKkEI=
Endpoint = 193.48.225.150:51920
PersistentKeepalive = 25
AllowedIPs = 172.19.0.0/17,fc00::/96
```
```
[interface]
Address = 172.19.129.<id>/32
Address = fc00:f::129:<id>/128
PrivateKey = <private.key>
[Peer]
PublicKey = tSnZQM0s1EaN2uvCgYP8xkLXt+NccBBPJj5UBzV3h2Y=
Endpoint = 193.54.193.176:51920
PersistentKeepalive = 25
AllowedIPs = 172.19.0.0/17,fc00::/96
```
Only one need to be up at a time
### SSH
Prov yourself in ./shared/users.nix
### Agenix
Add you decryption key into ./secrets/secrets.nix