diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-02-19 21:35:36 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-02-19 21:35:36 +0300 |
commit | 9e3f4268c87b0d1a64e9429ea173252a5f774ec5 (patch) | |
tree | 12896bfa12d7175a22c1e8091cfcc785112df12b /modules/common/openconnect.nix | |
parent | 2023-02-19 (diff) |
2023-02-19
Diffstat (limited to 'modules/common/openconnect.nix')
-rw-r--r-- | modules/common/openconnect.nix | 4 |
1 files changed, 2 insertions, 2 deletions
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"; |