machines/asus-gl553vd: enable wireguard vpn
This commit is contained in:
parent
0f9fd3f125
commit
320b7f01de
1 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue