nixos-config/modules/workstation/home-manager/rustdesk.nix

27 lines
388 B
Nix
Raw Normal View History

2024-12-07 12:02:51 +01:00
{
pkgs,
lib,
config,
...
}:
let
cfg = config.my.rustdesk;
in
with lib;
{
options = {
my.rustdesk.enable = mkOption {
type = types.bool;
default = true;
example = false;
description = "Whether to enable the RustDesk client on this workstation";
};
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
rustdesk
];
};
}