Add RDP to Bitcoin-only Node role
Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/17c88629-43c4-438a-9640-7abe3609c82d Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
2b89969a96
commit
af31c60be8
@@ -270,7 +270,7 @@ ROLE_CATEGORIES: dict[str, set[str] | None] = {
|
|||||||
ROLE_FEATURES: dict[str, set[str] | None] = {
|
ROLE_FEATURES: dict[str, set[str] | None] = {
|
||||||
"server_plus_desktop": None,
|
"server_plus_desktop": None,
|
||||||
"desktop": {"rdp"},
|
"desktop": {"rdp"},
|
||||||
"node": {"bip110", "bitcoin-core", "mempool"},
|
"node": {"rdp", "bip110", "bitcoin-core", "mempool"},
|
||||||
}
|
}
|
||||||
|
|
||||||
SERVICE_DESCRIPTIONS: dict[str, str] = {
|
SERVICE_DESCRIPTIONS: dict[str, str] = {
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ let
|
|||||||
{ name = "Caddy"; unit = "caddy.service"; type = "system"; icon = "caddy"; enabled = true; category = "infrastructure"; credentials = []; }
|
{ 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 = []; }
|
{ name = "Tor"; unit = "tor.service"; type = "system"; icon = "tor"; enabled = true; category = "infrastructure"; credentials = []; }
|
||||||
]
|
]
|
||||||
# ── Infrastructure — Remote Desktop (roles with a desktop) ─
|
# ── Infrastructure — Remote Desktop (all roles) ─────────────
|
||||||
++ lib.optionals (!cfg.roles.node) [
|
++ [
|
||||||
{ name = "Remote Desktop"; unit = "gnome-remote-desktop.service"; type = "system"; icon = "rdp"; enabled = cfg.features.rdp; category = "infrastructure"; credentials = [
|
{ 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 = "Username"; file = "/var/lib/gnome-remote-desktop/rdp-username"; }
|
||||||
{ label = "Password"; file = "/var/lib/gnome-remote-desktop/rdp-password"; }
|
{ label = "Password"; file = "/var/lib/gnome-remote-desktop/rdp-password"; }
|
||||||
|
|||||||
Reference in New Issue
Block a user