53 lines
2.5 KiB
Plaintext
53 lines
2.5 KiB
Plaintext
![]() |
# Desktop Environment Variables
|
||
|
DESKTOP_USER={{ desktop.run_user.name }}
|
||
|
DESKTOP_HOME={{ desktop.run_user.home }}
|
||
|
DESKTOP_TYPE={{ desktop.desktop_env.type }}
|
||
|
DISPLAY_MANAGER={{ desktop.desktop_env.display_manager }}
|
||
|
DESKTOP_RESOLUTION={{ desktop.desktop_env.resolution }}
|
||
|
|
||
|
# VNC Configuration
|
||
|
VNC_ENABLED={{ desktop.vnc.enabled | lower }}
|
||
|
VNC_PORT={{ desktop.vnc.port }}
|
||
|
VNC_GEOMETRY={{ desktop.vnc.geometry }}
|
||
|
VNC_DEPTH={{ desktop.vnc.depth }}
|
||
|
{% if desktop.vnc.password %}VNC_PASSWORD={{ desktop.vnc.password }}{% endif %}
|
||
|
|
||
|
# Graphics Configuration
|
||
|
GRAPHICS_DRIVER={{ desktop.graphics.driver }}
|
||
|
GRAPHICS_ACCELERATION={{ desktop.graphics.acceleration | lower }}
|
||
|
GRAPHICS_COMPOSITING={{ desktop.graphics.compositing | lower }}
|
||
|
|
||
|
# Applications Lists
|
||
|
EDITORS="{{ desktop.applications.editors | join(' ') }}"
|
||
|
BROWSERS="{{ desktop.applications.browsers | join(' ') }}"
|
||
|
TERMINALS="{{ desktop.applications.terminals | join(' ') }}"
|
||
|
DEVELOPMENT="{{ desktop.applications.development | join(' ') }}"
|
||
|
MEDIA="{{ desktop.applications.media | join(' ') }}"
|
||
|
OFFICE="{{ desktop.applications.office | join(' ') }}"
|
||
|
UTILITIES="{{ desktop.applications.utilities | join(' ') }}"
|
||
|
|
||
|
# RustDesk Configuration
|
||
|
RUSTDESK_ENABLED={{ desktop.rustdesk.enabled | lower }}
|
||
|
RUSTDESK_PORT={{ desktop.rustdesk.port }}
|
||
|
RUSTDESK_HBBR_PORT={{ desktop.rustdesk.hbbr_port }}
|
||
|
{% if desktop.rustdesk.custom_server %}RUSTDESK_CUSTOM_SERVER={{ desktop.rustdesk.custom_server }}{% endif %}
|
||
|
{% if desktop.rustdesk.password %}RUSTDESK_PASSWORD={{ desktop.rustdesk.password }}{% endif %}
|
||
|
{% if desktop.rustdesk.permanent_password %}RUSTDESK_PERMANENT_PASSWORD={{ desktop.rustdesk.permanent_password }}{% endif %}
|
||
|
RUSTDESK_ALLOW_GUEST={{ desktop.rustdesk.allow_guest | upper }}
|
||
|
RUSTDESK_AUTO_START={{ desktop.rustdesk.auto_start | lower }}
|
||
|
|
||
|
# SSH Configuration
|
||
|
SSH_ENABLED={{ desktop.ssh.enabled | lower }}
|
||
|
SSH_PORT={{ desktop.ssh.port }}
|
||
|
SSH_PASSWORD_AUTH={{ desktop.ssh.password_auth | lower }}
|
||
|
SSH_KEY_AUTH={{ desktop.ssh.key_auth | lower }}
|
||
|
SSH_ROOT_LOGIN={{ desktop.ssh.root_login }}
|
||
|
SSH_MAX_AUTH_TRIES={{ desktop.ssh.max_auth_tries }}
|
||
|
SSH_CLIENT_ALIVE_INTERVAL={{ desktop.ssh.client_alive_interval }}
|
||
|
SSH_CLIENT_ALIVE_COUNT_MAX={{ desktop.ssh.client_alive_count_max }}
|
||
|
{% if desktop.ssh.allowed_users %}SSH_ALLOWED_USERS="{{ desktop.ssh.allowed_users | join(' ') }}"{% endif %}
|
||
|
{% if desktop.ssh.denied_users %}SSH_DENIED_USERS="{{ desktop.ssh.denied_users | join(' ') }}"{% endif %}
|
||
|
|
||
|
# System Configuration
|
||
|
AUTO_LOGIN={{ desktop.auto_login | lower }}
|
||
|
{% if desktop.startup_script %}STARTUP_SCRIPT={{ desktop.startup_script }}{% endif %}
|