Use a dedicated citrix package set with permittedInsecurePackages
This commit is contained in:
parent
00e2f814fd
commit
43d40cc6d0
1 changed files with 2 additions and 2 deletions
|
|
@ -1,11 +1,11 @@
|
|||
{ 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"]; }; };
|
||||
in {
|
||||
options.roles.citrix = {enable = lib.mkEnableOption "citrix tools";};
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.don.home.packages = with pkgs; [citrix_workspace];
|
||||
nixpkgs.config.permittedInsecurePackages = ["libsoup-2.74.3"];
|
||||
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue