WIP: Switch to NixOS #5

Draft
FunctionalHacker wants to merge 1349 commits from nix into main
2 changed files with 23 additions and 0 deletions
Showing only changes of commit e10d1cf8b3 - Show all commits

View file

@ -0,0 +1,14 @@
[NetDev]
Name = wg0
Kind = wireguard
Description = ReekyNET WireGuard
[WireGuard]
PrivateKey = {{@@ env['WIREGUARD_MIRKWOOD_PRIVKEY'] @@}}
[WireGuardPeer]
PublicKey = {{@@ env['WIREGUARD_MORIA_PUBKEY'] @@}}
PresharedKey = {{@@ env['WIREGUARD_MIRKWOOD_PSK'] @@}}
AllowedIPs = 10.200.0.0/24
Endpoint = reekynet.com:48574
PersistentKeepalive = 25

View file

@ -0,0 +1,9 @@
[Match]
Name = wg0
[Network]
Address = 10.200.200.2/24
[Route]
Gateway = 10.200.200.1
Destination = 10.200.200.0/24