Merge pull request #61 from naturallaw777/copilot/add-rdp-to-node-role

Add RDP to Bitcoin-only Node role
This commit is contained in:
Sovran_Systems
2026-04-04 23:04:42 -05:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -270,7 +270,7 @@ ROLE_CATEGORIES: dict[str, set[str] | None] = {
ROLE_FEATURES: dict[str, set[str] | None] = {
"server_plus_desktop": None,
"desktop": {"rdp"},
"node": {"bip110", "bitcoin-core", "mempool"},
"node": {"rdp", "bip110", "bitcoin-core", "mempool"},
}
SERVICE_DESCRIPTIONS: dict[str, str] = {

View File

@@ -18,8 +18,8 @@ let
{ name = "Caddy"; unit = "caddy.service"; type = "system"; icon = "caddy"; enabled = true; category = "infrastructure"; credentials = []; }
{ name = "Tor"; unit = "tor.service"; type = "system"; icon = "tor"; enabled = true; category = "infrastructure"; credentials = []; }
]
# ── Infrastructure — Remote Desktop (roles with a desktop)
++ lib.optionals (!cfg.roles.node) [
# ── Infrastructure — Remote Desktop (all roles) ────────────
++ [
{ name = "Remote Desktop"; unit = "gnome-remote-desktop.service"; type = "system"; icon = "rdp"; enabled = cfg.features.rdp; category = "infrastructure"; credentials = [
{ label = "Username"; file = "/var/lib/gnome-remote-desktop/rdp-username"; }
{ label = "Password"; file = "/var/lib/gnome-remote-desktop/rdp-password"; }