summaryrefslogtreecommitdiff
path: root/hosts/cirrus/wireguard-server.nix
diff options
context:
space:
mode:
authorGrigory Shipunov2023-01-24 20:40:41 +0100
committerGrigory Shipunov2023-01-24 20:40:41 +0100
commitb5d95071571de62aa62783c65e8cf7ecc487d162 (patch)
tree3806269067604dc4e74c63a00cacd8d630a7bb51 /hosts/cirrus/wireguard-server.nix
parent3b53f3b8a9d78203bf506d6d49975f61f33a052d (diff)
music: init
Diffstat (limited to 'hosts/cirrus/wireguard-server.nix')
-rw-r--r--hosts/cirrus/wireguard-server.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/hosts/cirrus/wireguard-server.nix b/hosts/cirrus/wireguard-server.nix
index ee4cf60..45c3dcb 100644
--- a/hosts/cirrus/wireguard-server.nix
+++ b/hosts/cirrus/wireguard-server.nix
@@ -66,6 +66,14 @@
PersistentKeepalive = 25;
};
}
+ # music
+ {
+ wireguardPeerConfig = {
+ PublicKey = "vQNkp51S9qLsu97dLPj0/EqFwvVtRFZpMHufgKhxum0=";
+ AllowedIPs = [ "10.34.45.101/32" ];
+ PersistentKeepalive = 25;
+ };
+ }
];
};
networks."oxaproxy" = {