{ lib, config, pkgs, inputs, outputs, home-manager, ... }: with lib; let cfg = config.roles.citrix; in { options.roles.citrix = { enable = lib.mkEnableOption "citrix tools"; }; config = mkIf cfg.enable { home-manager.users.don.home.packages = with pkgs; [ citrix_workspace ]; # home-manager.users.don.home.packages = with pkgs; # [ citrix_workspace_24_11_0 ]; home-manager.users.don.home.file."ICAClient" = { recursive = true; source = ./files/citrix; target = ".ICAClient"; }; }; }