Add support for installing freerdp as an rdp client.

This commit is contained in:
Tom Alexander
2026-10-05 15:48:27 -04:00
parent ffbd3847e7
commit 7e04786d47
3 changed files with 27 additions and 0 deletions

View File

@@ -78,6 +78,7 @@ in
./roles/postgresql_client
./roles/python
./roles/qemu
./roles/rdp_client
./roles/recovery
./roles/reset
./roles/rpcs3

View File

@@ -126,6 +126,7 @@
me.podman.enable = true;
me.postgresql_client.enable = true;
me.python.enable = true;
me.rdp_client.enable = true;
me.rust.enable = true;
me.sequoia.enable = true;
me.shikane.enable = true;

View File

@@ -0,0 +1,25 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [ ];
options.me = {
rdp_client.enable = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether we want to install rdp_client.";
};
};
config = lib.mkIf (config.me.rdp_client.enable && config.me.graphical) {
environment.systemPackages = with pkgs; [
freerdp
];
};
}