{%- if taskserv.name == "os" %}
HOSTNAME="{{server.hostname}}"
{% if server.ip_addresses.pub %}
PUB_IP="{{server.ip_addresses.pub}}"
{% else %}
PUB_IP=""
{% endif %}
{% if server.ip_addresses.priv %}
PRIV_IP="{{server.ip_addresses.priv}}"
{% else %}
PRIV_IP=""
{% endif %}
DEV_USER="{{taskserv.admin_user}}"
DEV_USER_HOME="/home/{{taskserv.admin_user}}"
DEVS_USER_GROUP="{{taskserv.admin_group}}"
SOURCE_USER_PATH="{{taskserv.src_user_path}}"
INSTALLER_USER={{server.installer_user}}
{% if taskserv.ssh_keys %}
SSH_KEYS="{{taskserv.ssh_keys}}"
{% endif %}

# Nushell Runtime Configuration (optional)
{% if taskserv.install_nushell | default(false) %}
INSTALL_NUSHELL="true"
NUSHELL_VERSION="{{taskserv.nushell_version | default('0.107.1')}}"
NUSHELL_READONLY="{{taskserv.nushell_readonly | default('true')}}"
NUSHELL_PLUGINS="{{taskserv.nushell_plugins | default('false')}}"
NUSHELL_NETWORK="{{taskserv.nushell_network | default('false')}}"
NUSHELL_EXECUTION_MODE="{{taskserv.nushell_execution_mode | default('restricted')}}"
{% else %}
INSTALL_NUSHELL="false"
{% endif %}
{%- endif %}
