fix(thinkcentre): corect syntax
This commit is contained in:
parent
392e4ed24d
commit
c59cebdc32
@ -12,10 +12,10 @@
|
|||||||
networking.nameservers = ["1.1.1.1" "8.8.8.8"];
|
networking.nameservers = ["1.1.1.1" "8.8.8.8"];
|
||||||
|
|
||||||
# Wireguard tunnel to oracle
|
# Wireguard tunnel to oracle
|
||||||
age.secrets.wireguardThinkcentre.file = "../../secrets/wireguard-thinkcentre.age";
|
age.secrets.wireguardThinkcentre.file = ../../secrets/wireguard-thinkcentre.age;
|
||||||
networking.wg-quick.interfaces = {
|
networking.wg-quick.interfaces = {
|
||||||
wg0 = {
|
wg0 = {
|
||||||
address = [ "10.0.10.2/32" ];
|
address = ["10.0.10.2/32"];
|
||||||
listenPort = 51820;
|
listenPort = 51820;
|
||||||
privateKeyFile = config.age.secrets.wireguardThinkcentre.path;
|
privateKeyFile = config.age.secrets.wireguardThinkcentre.path;
|
||||||
|
|
||||||
@ -23,8 +23,8 @@
|
|||||||
{
|
{
|
||||||
publicKey = "sdqT2l1HRe9rDYejJ+luQK8zdC+/KqDuQ1rpvZq/KlQ=";
|
publicKey = "sdqT2l1HRe9rDYejJ+luQK8zdC+/KqDuQ1rpvZq/KlQ=";
|
||||||
endpoint = "150.136.162.107:51820";
|
endpoint = "150.136.162.107:51820";
|
||||||
allowedIPs = "10.0.10.1/24";
|
allowedIPs = ["10.0.10.1/24"];
|
||||||
};
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user