nix/README.md
2025-07-24 20:36:09 +02:00

58 lines
No EOL
1.1 KiB
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
```
```
[interface]
Address = 172.19.130.<id>/32
Address = fc00:f::130:<id>/128
PrivateKey = <private.key>
[Peer]
PublicKey = 6zt1TmDgpOoTYhJVhfJTEWr0HhWcXrpXvtCr7Xldyhg=
Endpoint = 45.66.111.188: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