I’ve solved the issue. Tested it in the live environment.
First allow unfree packages (I did it just temporary)
export NIXPKGS_ALLOW_UNFREE=1
Then download the correct tar file from citrix:
It’s important to get the correct version:
linuxx64-22.12.0.12.tar.gz so check for older files.
Then add the package to the nix store (this is where I got stuck, beginners mistake I’m affraid)
nix store add-file /home/nixos/Downloads/linuxx64-22.12.0.12.tar.gz --extra-experimental-features nix-command
Then fetch the url:
nix-prefetch-url file://$PWD/linuxx64-22.12.0.12.tar.gz
Then install the workspace app (I did it temporary in the nix environment)
nix-env -iA nixos.citrix_workspace
I’ve started up the workspace app and agreed. I’ve also installed Chromium (checked on serveral distros but Firefox doesn’t work so far).
I’ve downloaded the .ica file. I had to choose ‘open with’ Citrix workspace engine via Nautilus.
Then it started up flawlessly.
If someone has any questions please feel free to ask.