From 867c475918861fb8e0cccce8dfbf36d68c88c9e7 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Mon, 8 Apr 2024 17:43:53 +0200 Subject: [PATCH 1/2] Enable `adb` on `kirk` --- hosts/kirk/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/kirk/default.nix b/hosts/kirk/default.nix index 7f33db6..896a801 100644 --- a/hosts/kirk/default.nix +++ b/hosts/kirk/default.nix @@ -30,6 +30,7 @@ "greetd" "syncthing" "mount-rock5b" + "adb" ] ++ [ ./disko.nix From 53eea2bcede57ed9646d31fc1d4137bb9e17141a Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Mon, 8 Apr 2024 17:44:05 +0200 Subject: [PATCH 2/2] Set MTU to 1200 for the Wireguard interface, seems to mitigate problems when connected through the phone --- modules/wireguard-client/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/wireguard-client/default.nix b/modules/wireguard-client/default.nix index e02a34a..9a93f17 100644 --- a/modules/wireguard-client/default.nix +++ b/modules/wireguard-client/default.nix @@ -6,6 +6,7 @@ imports = [../wireguard-common]; networking.wireguard.interfaces.wg0 = { + mtu = 1200; ips = ["${vpn.${config.networking.hostName}.ip}/32"]; peers = [ {