rustdesk client

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-11-07 14:53:20 -06:00
parent 7f68635af2
commit 2106827132
3 changed files with 26 additions and 0 deletions

24
modules/rustdesk.nix Normal file
View file

@ -0,0 +1,24 @@
{
config,
lib,
pkgs,
...
}:
with lib;
let
name = "rustdesk";
cfg = config.mods.${name};
in
{
options = {
mods.${name} = {
enable = mkEnableOption (lib.mdDoc "Enable ${name}");
};
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
rustdesk
];
};
}