From 7f01ca90884853a4587ba8c28f286600fb8abdf8 Mon Sep 17 00:00:00 2001 From: Dmitriy Kholkin Date: Fri, 11 Aug 2023 11:02:05 +0300 Subject: [PATCH] disable wg-quick autostart --- machines/AMD-Workstation/default.nix | 1 + machines/Dell-Laptop/default.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/machines/AMD-Workstation/default.nix b/machines/AMD-Workstation/default.nix index c1a02be..6d04b4c 100644 --- a/machines/AMD-Workstation/default.nix +++ b/machines/AMD-Workstation/default.nix @@ -66,6 +66,7 @@ # VPN deviceSpecific.vpn.tailscale.enable = true; secrets.wg-ataraxia.services = [ "wg-quick-wg0.service" ]; + networking.wg-quick.interfaces.wg0.autostart = false; networking.wg-quick.interfaces.wg0.configFile = config.secrets.wg-ataraxia.decrypted; hardware.firmware = [ pkgs.rtl8761b-firmware ]; diff --git a/machines/Dell-Laptop/default.nix b/machines/Dell-Laptop/default.nix index 047978f..22377df 100644 --- a/machines/Dell-Laptop/default.nix +++ b/machines/Dell-Laptop/default.nix @@ -29,6 +29,7 @@ deviceSpecific.enableVirtualisation = true; deviceSpecific.vpn.tailscale.enable = true; secrets.wg-dell.services = [ "wg-quick-wg0.service" ]; + networking.wg-quick.interfaces.wg0.autostart = false; networking.wg-quick.interfaces.wg0.configFile = config.secrets.wg-dell.decrypted; boot.blacklistedKernelModules = [