fix(openconnect): ugent sso

This commit is contained in:
Tibo De Peuter 2026-09-29 20:56:57 +02:00
parent 6224eafa70
commit b92a2fb821
Signed by: tdpeuter
SSH key fingerprint: SHA256:u/h/LVoqKF1Iz02uOyxe6hcjmoZASCGV2HM0TG9ZMoU
7 changed files with 41 additions and 17 deletions

View file

@ -0,0 +1,22 @@
{ config, inputs, lib, pkgs, ... }:
let
cfg = config.sisyphus.networking.openconnect;
ugentVpn = pkgs.writeShellApplication {
name = "ugent-vpn";
runtimeInputs = with pkgs; [
openconnect
];
text = builtins.readFile ./ugent-vpn.sh;
};
in {
options.sisyphus.networking.openconnect.enable = lib.mkEnableOption "OpenConnect";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
openconnect
ugentVpn
];
};
}