machines/asus-gl553vd: enable wireguard vpn

This commit is contained in:
Dmitriy Pleshevskiy 2023-03-02 17:36:29 +03:00
parent 0f9fd3f125
commit 320b7f01de
Signed by: pleshevskiy
GPG key ID: 79C4487B44403985

View file

@ -70,9 +70,12 @@
local.nix.enableMyRegistry = true;
# Wireguard client
age.secrets.wireguard-asus-gl553vd-private.file = ../../secrets/wireguard-asus-gl553vd-private.age;
age.secrets.wireguard-asus-gl553vd-private = {
file = ../../secrets/wireguard-asus-gl553vd-private.age;
mode = "0400";
};
local.wireguard = {
enable = false;
enable = true;
ip = "10.100.0.3/24";
privateKeyFile = config.age.secrets.wireguard-asus-gl553vd-private.path;
};