sisyphus/nixos/modules/networking/openconnect-sso/default.nix

14 lines
368 B
Nix
Raw Permalink Normal View History

2024-02-18 16:31:46 +01:00
{ config, inputs, lib, pkgs, ... }:
let
cfg = config.sisyphus.networking.openconnect-sso;
in {
options.sisyphus.networking.openconnect-sso.enable = lib.mkEnableOption "OpenConnect SSO";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
2024-02-18 16:31:46 +01:00
inputs.openconnect-sso.packages.${config.nixpkgs.localSystem.system}.default
];
};
}