Add temporary workaround for citrix

This commit is contained in:
Ethan Simmons
2025-08-17 17:10:42 -05:00
parent b4055e9364
commit ef753f2450
2 changed files with 16 additions and 2 deletions

View File

@@ -112,7 +112,7 @@
school = { school = {
enable = true; enable = true;
citrix = false; citrix = true;
}; };
games = { games = {
@@ -239,10 +239,21 @@
allowUnfree = true; allowUnfree = true;
permittedInsecurePackages = [ permittedInsecurePackages = [
"electron-31.7.7" "electron-31.7.7"
# TODO: Remove when fixed https://github.com/NixOS/nixpkgs/issues/433004
"libsoup-2.74.3"
"libxml2-2.13.8"
]; ];
}; };
}; };
# TODO: Remove when Citrix is fixed
pkgs_stable_tmp = import nixpkgs-stable {
inherit system;
config = {
allowUnfree = true;
};
};
localPackages = pkgs.lib.genAttrs flake-utils.lib.defaultSystems (system: { localPackages = pkgs.lib.genAttrs flake-utils.lib.defaultSystems (system: {
kickoff-dot-desktop = pkgs.callPackage ./pkgs/kickoff-dot-desktop.nix {}; kickoff-dot-desktop = pkgs.callPackage ./pkgs/kickoff-dot-desktop.nix {};
jhelioviewer = pkgs.callPackage ./pkgs/jhelioviewer.nix {}; jhelioviewer = pkgs.callPackage ./pkgs/jhelioviewer.nix {};
@@ -268,6 +279,7 @@
specialArgs = { specialArgs = {
inherit localPackages; inherit localPackages;
inherit pkgs; inherit pkgs;
inherit pkgs_stable_tmp;
}; };
modules = [ modules = [
{ {

View File

@@ -1,13 +1,15 @@
{ lib { lib
, pkgs , pkgs
, config , config
, localPackages
, pkgs_stable_tmp
, ... , ...
}: }:
with lib; let with lib; let
cfg = config.simmer.school; cfg = config.simmer.school;
extraCerts = [ ./incommon-rsa-ca2.pem ]; extraCerts = [ ./incommon-rsa-ca2.pem ];
citrix = pkgs.citrix_workspace_23_09_0.override { inherit extraCerts; }; citrix = pkgs_stable_tmp.citrix_workspace_23_09_0.override { inherit extraCerts; };
in in
{ {
config = mkIf cfg.enable { config = mkIf cfg.enable {