Allow insecure libsoup in Citrix package import set during evaluation
This commit is contained in:
parent
43d40cc6d0
commit
0c5f0e56e1
3 changed files with 12 additions and 5 deletions
|
|
@ -1,12 +1,18 @@
|
|||
{ lib, config, pkgs, inputs, outputs, home-manager, ... }:
|
||||
with lib; let
|
||||
cfg = config.roles.citrix;
|
||||
citrixPkgs = import inputs.nixpkgs { system = pkgs.system; config = pkgs.config // { permittedInsecurePackages = ["libsoup-2.74.3"]; }; };
|
||||
citrixPkgs = import inputs.nixpkgs {
|
||||
system = pkgs.system;
|
||||
config = pkgs.config // {
|
||||
allowUnfree = true;
|
||||
allowInsecure = true;
|
||||
permittedInsecurePackages = ["libsoup-2.74.3"];
|
||||
};
|
||||
};
|
||||
in {
|
||||
options.roles.citrix = {enable = lib.mkEnableOption "citrix tools";};
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.don.home.packages = with citrixPkgs; [citrix_workspace];
|
||||
home-manager.users.don.nixpkgs.config.permittedInsecurePackages = ["libsoup-2.74.3"];
|
||||
home-manager.users.don.home.file."ICAClient" = {
|
||||
recursive = true;
|
||||
source = ./files/citrix;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue