diff options
Diffstat (limited to 'hosts/dishwasher/oxalab.nix')
| -rw-r--r-- | hosts/dishwasher/oxalab.nix | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/hosts/dishwasher/oxalab.nix b/hosts/dishwasher/oxalab.nix deleted file mode 100644 index 7e79971..0000000 --- a/hosts/dishwasher/oxalab.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ config, ... }: -{ - networking.wireguard.enable = true; - systemd.network = { - netdevs."oxalab" = { - netdevConfig = { - Kind = "wireguard"; - Name = "oxalab"; - Description = "oxa's enterprise network"; - }; - wireguardConfig = { - PrivateKeyFile = config.sops.secrets."wg/oxalab-seckey".path; - }; - wireguardPeers = [ - { - # cirrus - wireguardPeerConfig = { - PublicKey = "5nCVC21BL+1r70OGwA4Q6Z/gcPLC3+ZF8sTurdn7N0E="; - AllowedIPs = [ "10.66.66.0/24" ]; - Endpoint = [ "95.216.166.21:51820" ]; - PersistentKeepalive = 25; - }; - } - ]; - }; - networks."oxalab" = { - matchConfig.Name = "oxalab"; - networkConfig = { - Address = "10.66.66.100/24"; - }; - }; - }; -} |
