[openconnect-sso] Remove insecure

This commit is contained in:
Tibo De Peuter 2024-03-08 15:38:32 +01:00
parent 15e00efe3e
commit 6cd501571e

View file

@ -6,13 +6,6 @@ in {
options.sisyphus.networking.openconnect-sso.enable = lib.mkEnableOption "OpenConnect SSO"; options.sisyphus.networking.openconnect-sso.enable = lib.mkEnableOption "OpenConnect SSO";
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
nixpkgs = {
config.permittedInsecurePackages = [
"python3.10-requests-2.28.2"
"python3.10-cryptography-40.0.1"
];
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
inputs.openconnect-sso.packages.${config.nixpkgs.localSystem.system}.default inputs.openconnect-sso.packages.${config.nixpkgs.localSystem.system}.default
]; ];