feat: change openclaw to a vm and give read access to a db
This commit is contained in:
parent
5847c04acd
commit
f3ef4ff11c
10 changed files with 372 additions and 75 deletions
14
hosts/web-arm/modules/wireguard.nix
Normal file
14
hosts/web-arm/modules/wireguard.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ config, ... }: {
|
||||
sops.secrets.wg_cloonar_key = {};
|
||||
|
||||
networking.wireguard.interfaces.wg_cloonar = {
|
||||
ips = [ "10.42.98.10/24" ];
|
||||
privateKeyFile = config.sops.secrets.wg_cloonar_key.path;
|
||||
peers = [{
|
||||
endpoint = "vpn.cloonar.com:51820";
|
||||
publicKey = "TKQVDmBnf9av46kQxLQSBDhAeaK8r1zh8zpU64zuc1Q=";
|
||||
allowedIPs = [ "10.42.0.0/16" ];
|
||||
persistentKeepalive = 25; # web-arm is behind NAT, keep tunnel alive
|
||||
}];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue