Tue Jun 4 11:42:15 PM CEST 2024
This commit is contained in:
parent
a82119b8da
commit
a0c5c0ea56
|
@ -1,4 +1,4 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services.pcscd.enable = true;
|
||||
|
@ -17,14 +17,14 @@
|
|||
|
||||
networking.wg-quick.interfaces = {
|
||||
wg0 = {
|
||||
address = [ "10.0.0.5/24" " 2a02:a03f:83ad:2101::5/128" ];
|
||||
address = [ "10.0.0.5/24" "2a02:a03f:83ad:2101::5/128" ];
|
||||
dns = [ "10.0.0.1" "fdc9:281f:04d7:9ee9::1" ];
|
||||
privateKeyFile = "/home/user/.secrets/Wireguard/Aloria.key";
|
||||
listenPort = 51820;
|
||||
postSetup = "resolvectl dns %i 10.0.0.1; resolvectl domain %i ~thomasave.be;";
|
||||
peers = [{
|
||||
publicKey = "/9ppjm3yeD0duDvxrqgcHscHmftXko+0s2RbivNEy2c=";
|
||||
allowedIPs = [ "10.0.0.1/8", "192.168.1.2/32" ];
|
||||
allowedIPs = [ "10.0.0.1/8" "192.168.1.2/32" ];
|
||||
endpoint = "h.thomasave.be:13231";
|
||||
persistentKeepalive = 25;
|
||||
}];
|
||||
|
|
Loading…
Reference in New Issue