From 9e3f4268c87b0d1a64e9429ea173252a5f774ec5 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sun, 19 Feb 2023 21:35:36 +0300 Subject: 2023-02-19 --- modules/common/openconnect.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/common/openconnect.nix') diff --git a/modules/common/openconnect.nix b/modules/common/openconnect.nix index 780f93f..936c9d1 100644 --- a/modules/common/openconnect.nix +++ b/modules/common/openconnect.nix @@ -10,7 +10,7 @@ in { options.nixfiles.modules.openconnect.enable = mkEnableOption "OpenConnect VPN"; - config = mkIf.enable { + config = mkIf cfg.enable { assertions = [ { assertion = config.networking.networkmanager.enable; @@ -35,7 +35,7 @@ in { networking.networkmanager.plugins = with pkgs; [ ((networkmanager-openconnect.override { withGnome = false; - openconnect = openconnect.overrideAttrs (_: super: { + openconnect = openconnect.overrideAttrs (_: _: { version = "unstable-2022-10-23"; src = fetchFromGitLab { owner = "openconnect"; -- cgit 1.4.1