summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-06-28 23:25:18 -0400
committerFreya Murphy <freya@freyacat.org>2025-06-28 23:25:18 -0400
commit3cf2136d9e54fa071624d6bf4b377bc776bb7d84 (patch)
tree672566400232a7c0903825656707adcdfe9ee466 /hosts
parentunset gpg publickeys for now (diff)
downloaddotfiles-nix-3cf2136d9e54fa071624d6bf4b377bc776bb7d84.tar.gz
dotfiles-nix-3cf2136d9e54fa071624d6bf4b377bc776bb7d84.tar.bz2
dotfiles-nix-3cf2136d9e54fa071624d6bf4b377bc776bb7d84.zip
reenable tinternet, make wg-quick vpns not autostart
Diffstat (limited to 'hosts')
-rw-r--r--hosts/shinji/wireguard.nix26
1 files changed, 15 insertions, 11 deletions
diff --git a/hosts/shinji/wireguard.nix b/hosts/shinji/wireguard.nix
index 13669b3..ed0872d 100644
--- a/hosts/shinji/wireguard.nix
+++ b/hosts/shinji/wireguard.nix
@@ -12,6 +12,7 @@
address = ["10.2.0.2/32" "fd:cafe:dead:bee::2/128" "fe80::2/128"];
dns = ["10.3.0.138"];
privateKeyFile = config.sops.secrets.freyanetWg.path;
+ autostart = false;
peers = [
{
@@ -23,17 +24,20 @@
];
};
- #tinternet = {
- # address = [ "69.0.0.2/32" "cafe::2/128" "fe80::2/128" ];
- # dns = [ "1.1.1.1" ];
- # privateKeyFile = config.sops.secrets.tinternetWg.path;
+ tinternet = {
+ address = ["69.0.0.2/32" "cafe::2/128" "fe80::2/128"];
+ dns = ["1.1.1.1"];
+ privateKeyFile = config.sops.secrets.tinternetWg.path;
+ autostart = false;
- # peers = [{
- # publicKey = "8Ice49Yc7N75OYJW59ohDbfUjgrkwIuGWKWocJQGgzI=";
- # allowedIPs = [ "0.0.0.0/0" "::/0" ];
- # endpoint = "freya.cat:51282";
- # persistentKeepalive = 25;
- # }];
- #};
+ peers = [
+ {
+ publicKey = "8Ice49Yc7N75OYJW59ohDbfUjgrkwIuGWKWocJQGgzI=";
+ allowedIPs = ["0.0.0.0/0" "::/0"];
+ endpoint = "freya.cat:51282";
+ persistentKeepalive = 25;
+ }
+ ];
+ };
};
}