From 83ba792c1c3bf1ae2d92b7433316fc4f35b9c3f5 Mon Sep 17 00:00:00 2001 From: coolneng Date: Fri, 21 Jan 2022 00:31:34 +0100 Subject: [PATCH] Install openconnect-sso as overlay --- configuration.nix | 1 + flake.nix | 4 ++++ modules/software.nix | 1 + overlays/openconnect-sso.nix | 3 +++ 4 files changed, 9 insertions(+) create mode 100644 overlays/openconnect-sso.nix 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..574fcf9 --- /dev/null +++ b/overlays/openconnect-sso.nix @@ -0,0 +1,3 @@ +{ config, lib, pkgs, inputs, ... }: { + nixpkgs.overlays = [ inputs.openconnect-sso.overlay ]; +}