Add temporary workaround for citrix
This commit is contained in:
14
flake.nix
14
flake.nix
@@ -112,7 +112,7 @@
|
||||
|
||||
school = {
|
||||
enable = true;
|
||||
citrix = false;
|
||||
citrix = true;
|
||||
};
|
||||
|
||||
games = {
|
||||
@@ -239,10 +239,21 @@
|
||||
allowUnfree = true;
|
||||
permittedInsecurePackages = [
|
||||
"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: {
|
||||
kickoff-dot-desktop = pkgs.callPackage ./pkgs/kickoff-dot-desktop.nix {};
|
||||
jhelioviewer = pkgs.callPackage ./pkgs/jhelioviewer.nix {};
|
||||
@@ -268,6 +279,7 @@
|
||||
specialArgs = {
|
||||
inherit localPackages;
|
||||
inherit pkgs;
|
||||
inherit pkgs_stable_tmp;
|
||||
};
|
||||
modules = [
|
||||
{
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
{ lib
|
||||
, pkgs
|
||||
, config
|
||||
, localPackages
|
||||
, pkgs_stable_tmp
|
||||
, ...
|
||||
}:
|
||||
|
||||
with lib; let
|
||||
cfg = config.simmer.school;
|
||||
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
|
||||
{
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
Reference in New Issue
Block a user