mirror of
https://github.com/tboerger/nixos-config
synced 2026-02-27 17:46:31 +01:00
33 lines
373 B
Nix
33 lines
373 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
options,
|
|
...
|
|
}:
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.profile.programs.citrix;
|
|
|
|
in
|
|
{
|
|
options = {
|
|
profile = {
|
|
programs = {
|
|
citrix = {
|
|
enable = mkEnableOption "Citrix";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
home = {
|
|
packages = with pkgs; [
|
|
citrix_workspace
|
|
];
|
|
};
|
|
};
|
|
}
|