mirror of
https://github.com/tboerger/nixos-config
synced 2024-11-23 12:42:01 +01:00
27 lines
388 B
Nix
27 lines
388 B
Nix
{ pkgs, lib, config, options, fetchurl, ... }:
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.personal.services.citrix;
|
|
|
|
in
|
|
{
|
|
options = {
|
|
personal = {
|
|
services = {
|
|
citrix = {
|
|
enable = mkEnableOption "Citrix";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
environment = {
|
|
systemPackages = with pkgs; [
|
|
citrix_workspace
|
|
];
|
|
};
|
|
};
|
|
}
|