aboutsummaryrefslogtreecommitdiff
path: root/hosts/the-meowchine/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/the-meowchine/default.nix')
-rw-r--r--hosts/the-meowchine/default.nix27
1 files changed, 2 insertions, 25 deletions
diff --git a/hosts/the-meowchine/default.nix b/hosts/the-meowchine/default.nix
index cef28f1..d00c2fe 100644
--- a/hosts/the-meowchine/default.nix
+++ b/hosts/the-meowchine/default.nix
@@ -54,27 +54,7 @@
systemd.network = {
enable = true;
- netdevs."90-wg0" = {
- enable = true;
- netdevConfig = {
- Kind = "wireguard";
- Name = "wg0";
- };
-
- wireguardConfig = {
- PrivateKeyFile = "/etc/wireguard/the-meowchine.key";
- RouteTable = "main";
- };
-
- wireguardPeers = [
- {
- AllowedIPs = [ "10.6.6.0/24" ];
- Endpoint = "51.79.54.109:51820";
- PersistentKeepalive = 25;
- PublicKey = "ChnzJG0HJcgk3OhgTzoPZ9EOyhuCH1EAknaQ9VF7N0I=";
- }
- ];
- };
+ netdevs."90-evilvpn".enable = true;
networks = {
"89-wireless" = {
@@ -83,10 +63,7 @@
networkConfig.IgnoreCarrierLoss = "3s";
};
- "90-wg0" = {
- address = [ "10.6.6.3/24" ];
- matchConfig.Name = "wg0";
- };
+ "90-evilvpn".address = [ "10.6.6.3/24" ];
};
};