diff --git a/configuration.nix b/configuration.nix index a5cdd04..dd45f2c 100644 --- a/configuration.nix +++ b/configuration.nix @@ -111,6 +111,7 @@ with pkgs; ./modules/power.nix ./overlays/emacs.nix ./overlays/nix-direnv.nix + ./overlays/openconnect-sso.nix ]; } diff --git a/flake.nix b/flake.nix index 5d72596..0f2becf 100644 --- a/flake.nix +++ b/flake.nix @@ -14,6 +14,10 @@ agenix.url = "github:ryantm/agenix"; agenix.inputs.nixpkgs.follows = "nixpkgs"; emacs-overlay.url = "github:nix-community/emacs-overlay"; + openconnect-sso = { + url = "github:vlaci/openconnect-sso"; + flake = false; + }; }; outputs = { self, nixpkgs, agenix, ... }@inputs: diff --git a/modules/software.nix b/modules/software.nix index 7de86a3..587d15e 100644 --- a/modules/software.nix +++ b/modules/software.nix @@ -90,6 +90,7 @@ in { teams # Networking openvpn + openconnect-sso # Programming tools ## Shell shellcheck diff --git a/overlays/openconnect-sso.nix b/overlays/openconnect-sso.nix new file mode 100644 index 0000000..dd4bfdc --- /dev/null +++ b/overlays/openconnect-sso.nix @@ -0,0 +1,3 @@ +{ config, lib, pkgs, inputs, ... }: { + nixpkgs.overlays = [ (import "${inputs.openconnect-sso}/overlay.nix") ]; +}