NixOS-Configs/home/work/zoom.nix

14 lines
398 B
Nix

{ lib, config, pkgs, pkgs-stable, inputs, outputs, home-manager, ... }:
with lib;
let
cfg = config.roles.zoom;
zoomPkgs = import inputs.nixpkgs-zoom {
system = "x86_64-linux";
config.allowUnfree = true;
};
in {
options.roles.zoom = { enable = lib.mkEnableOption "citrix tools"; };
config = mkIf cfg.enable {
home-manager.users.don.home.packages = [ zoomPkgs.zoom-us ];
};
}