From 214f24805ee3d26a3698ad2d0a1c7eacad155606 Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 14 Nov 2023 01:31:30 +0000 Subject: [PATCH] swaync: disable vpn::hn action --- hosts/common/programs/swaynotificationcenter.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/common/programs/swaynotificationcenter.nix b/hosts/common/programs/swaynotificationcenter.nix index d801aada..8e745e0f 100644 --- a/hosts/common/programs/swaynotificationcenter.nix +++ b/hosts/common/programs/swaynotificationcenter.nix @@ -337,10 +337,10 @@ in command = "/run/wrappers/bin/sudo ${systemctl-toggle}/bin/systemctl-toggle eg25-control-powered"; active = "${pkgs.systemd}/bin/systemctl is-active eg25-control-powered.service"; } - ] ++ [ + ] ++ lib.optionals false [ { type = "toggle"; - label = "vpn::hn"; + label = "vpn::hn"; # route all traffic through servo; useful to debug moby's networking command = "/run/wrappers/bin/sudo ${systemctl-toggle}/bin/systemctl-toggle wg-quick-vpn-servo"; active = "${pkgs.systemd}/bin/systemctl is-active wg-quick-vpn-servo.service"; }