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

View file

@ -24,6 +24,7 @@
stormd.enable = true; stormd.enable = true;
nebula.enable = true; nebula.enable = true;
ssh.enable = true; ssh.enable = true;
rustdesk.enable = true;
}; };
# machine specific configuration # machine specific configuration

View file

@ -24,6 +24,7 @@
ssh.enable = true; ssh.enable = true;
stormd.enable = true; stormd.enable = true;
nebula.enable = true; nebula.enable = true;
rustdesk.enable = true;
}; };
# opening this port for dev purposes # opening this port for dev purposes

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
];
};
}