-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsecrets.env.template
More file actions
217 lines (185 loc) · 11.8 KB
/
secrets.env.template
File metadata and controls
217 lines (185 loc) · 11.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# =============================================================================
# EmComm Tools Customizer - Configuration Template
# =============================================================================
# Copy this file to secrets.env and fill in your actual values.
# NEVER commit secrets.env to git!
# =============================================================================
# === User Identity (REQUIRED) ===
CALLSIGN="N0CALL" # Your amateur radio callsign
USER_FULLNAME="Your Full Name" # For git commits and user display
USER_EMAIL="your.email@example.com" # For git commits
GRID_SQUARE="" # Maidenhead grid locator (e.g., CN87)
# === User Account (REQUIRED) ===
USER_USERNAME="" # Username (defaults to lowercase CALLSIGN)
USER_PASSWORD="" # User password (REQUIRED - no default in ETC)
ENABLE_AUTOLOGIN="no" # "yes" to enable autologin, "no" for password prompt
# === Winlink Password ===
WINLINK_PASSWORD="" # Your Winlink password (from winlink.org)
# === System Configuration ===
MACHINE_NAME="" # Hostname (defaults to ETC-{CALLSIGN})
# === Desktop Preferences ===
DESKTOP_COLOR_SCHEME="prefer-dark" # prefer-dark or prefer-light
DESKTOP_SCALING_FACTOR="1.0" # 1.0, 1.25, 1.5, or 2.0
# === Accessibility ===
DISABLE_ACCESSIBILITY="yes" # yes = disable screen reader, keyboard, large text, high contrast (indicator stays visible)
# === Display & Screen Management ===
AUTOMATIC_SCREEN_BRIGHTNESS="false" # true = adaptive brightness, false = manual control
DIM_SCREEN="true" # true = dim screen during idle
SCREEN_BLANK="true" # true = blank screen after idle timeout
SCREEN_BLANK_TIMEOUT="300" # Seconds before screen blanks (300=5min)
# === Power Management ===
# Controls sleep behavior, power button actions, and power profiles
POWER_MODE="balanced" # balanced, performance, power-saver
POWER_LID_CLOSE_AC="suspend" # Lid close on AC: nothing, suspend, hibernate, logout
POWER_LID_CLOSE_BATTERY="suspend" # Lid close on battery: nothing, suspend, hibernate, logout
POWER_BUTTON_ACTION="interactive" # Power button: nothing, suspend, hibernate, interactive
POWER_IDLE_AC="nothing" # Idle action on AC: nothing, suspend, hibernate
POWER_IDLE_BATTERY="suspend" # Idle action on battery: nothing, suspend, hibernate
POWER_IDLE_TIMEOUT="900" # Seconds before idle action triggers (900=15min)
AUTOMATIC_POWER_SAVER="true" # true = enable power saver on battery
AUTOMATIC_SUSPEND="true" # true = enable automatic suspend on battery
# === System Timezone ===
TIMEZONE="America/Denver" # Timezone (e.g., America/Denver, America/New_York, UTC)
# === System Language & Keyboard ===
LOCALE="en_US.UTF-8" # System language/locale (e.g., en_US.UTF-8, en_GB.UTF-8, de_DE.UTF-8)
KEYBOARD_LAYOUT="us" # Keyboard layout (e.g., us, gb, de, fr, dvorak)
# === Installer Configuration ===
# IMPORTANT: Uses debian-installer (d-i) with preseed for fully automated installation.
# The installer runs WITHOUT any interactive prompts when booting the ISO.
# All questions (keyboard, locale, hostname, username, password, timezone, partitioning) are
# answered from this preseed configuration. See README for automation details.
#
# Partition strategy: auto-detect, force-entire-disk, force-partition, force-free-space
# - auto-detect (default): Analyze disk layout and partition accordingly
# - force-entire-disk: Always format entire disk (destructive!) - requires CONFIRM_ENTIRE_DISK=yes
# - force-partition: Use specified INSTALL_DISK partition (safe for dual-boot)
# - force-free-space: Create partitions in free space (requires Windows partition with space available)
PARTITION_STRATEGY="auto-detect" # Partition detection strategy
INSTALL_DISK="" # Target disk/partition for ETC (e.g., /dev/sda5, /dev/sda)
# If empty: auto-detect first available disk
SWAP_SIZE_MB="" # Override swap size (optional, in MB)
# If empty: auto-calculate based on available space
EXT4_SIZE_MB="" # Override EXT4 size (optional, in MB)
# If empty: use remaining space after swap
CONFIRM_ENTIRE_DISK="no" # Set to "yes" ONLY for force-entire-disk strategy
# === WiFi Networks ===
# Add networks with unique suffixes (_HOME, _MOBILE, _WORK, etc.)
# Scripts auto-detect all WIFI_SSID_* variables
WIFI_SSID_HOME="YourHomeNetwork"
WIFI_PASSWORD_HOME="YourHomePassword"
WIFI_AUTOCONNECT_HOME="yes"
WIFI_SSID_MOBILE="YourMobileHotspot"
WIFI_PASSWORD_MOBILE="YourHotspotPassword"
WIFI_AUTOCONNECT_MOBILE="yes"
# Add more as needed:
# WIFI_SSID_WORK="WorkNetwork"
# WIFI_PASSWORD_WORK="WorkPassword"
# WIFI_AUTOCONNECT_WORK="no"
# === ETC Build Options ===
# These control optional features and downloads during the ETC ISO build.
# Leaving map variables blank will show the original dialog prompts during build.
# Configure all variables for a fully automated (non-interactive) build.
# Squashfs Compression - affects build time and ISO size
# Options: zstd (default), xz, gzip, lz4
# zstd: RECOMMENDED - Fast build (~15-25 min), good compression (~5.0 GB ISO)
# xz: Best compression (~4.5 GB ISO), but SLOW build (~80-120 min)
# gzip: Medium speed/compression (~5.5 GB ISO, ~30-45 min)
# lz4: Fastest build (~5-10 min), largest ISO (~6.5 GB)
SQUASHFS_COMPRESSION="zstd"
# OSM State Map - OpenStreetMap data for Navit offline navigation
# Specify a US state name (lowercase, e.g., "washington", "california", "texas")
# See: https://download.geofabrik.de/north-america/us.html for available states
# Leave blank to be prompted during build, or to skip the download
OSM_MAP_STATE="" # US state for offline OSM map
# Pre-rendered Map Tiles - Used by YAAC and other mapping apps
# Options: "us", "ca" (Canada), "world" (smaller global coverage)
# Leave blank to be prompted during build
ET_MAP_REGION="" # Map region: us, ca, world
# Wikipedia Offline - Two options for offline Wikipedia content:
#
# OPTION 1: Download pre-built Kiwix collections (large files, 100-500MB each)
# Set ET_EXPERT="yes" and choose sections from: computer, history, mathematics, medicine, simple
# These are full topic areas from kiwix.org - only download what you need!
ET_EXPERT="" # Set to "yes" to enable Wikipedia download dialog
WIKIPEDIA_SECTIONS="" # e.g., "computer,medicine" (requires ET_EXPERT="yes")
# OPTION 2: Custom Wikipedia articles (small, targeted, ham-radio focused)
# One article per line in the array below
# Run ~/add-ons/wikipedia/create-my-wikipedia.sh after first boot to generate .zim file
# Leave empty to use defaults (2m, 70cm, APRS, Winlink, GMRS, FRS, etc.)
WIKIPEDIA_ARTICLES=(
# Uncomment and add articles you want (use Wikipedia article titles with underscores)
# "2-meter_band"
# "70-centimeter_band"
# "APRS"
# "Winlink"
# "GMRS"
# "Amateur_radio_emergency_communications"
)
# === Pat Winlink Aliases ===
# Pat is the Winlink client on ETC. Add quick-connect aliases here.
# The "emcomm" alias provides a one-command connection to your gateway.
PAT_EMCOMM_ALIAS="yes" # yes/no - create "emcomm" connect alias
PAT_EMCOMM_GATEWAY="" # Gateway callsign (e.g., "W7ACS-10" or leave blank)
# If blank, you'll select gateway manually
# === APRS Configuration ===
# These settings configure Direwolf for APRS operation (beaconing, iGate)
# SSID Reference: 0=home, 7=HT, 9=mobile, 10=iGate, 13=WX station
APRS_SSID="10" # APRS SSID (0-15, 10=iGate)
APRS_PASSCODE="-1" # APRS-IS passcode (-1 = RX only)
# Get yours: https://apps.magicbug.co.uk/passcode/
APRS_SYMBOL="/r" # Symbol: /r=antenna, /-=house, />car, /!=emergency
APRS_COMMENT="EmComm iGate" # Beacon comment (max 43 chars)
# APRS Beacon Settings (for position beaconing when GPS available)
ENABLE_APRS_BEACON="yes" # yes/no - enable periodic beaconing
APRS_BEACON_INTERVAL="300" # Seconds between beacons (300 = 5 min)
APRS_BEACON_VIA="WIDE1-1" # Digipeater path for beacon (WIDE1-1, WIDE2-2)
APRS_BEACON_POWER="7" # PHG: TX power in watts (0,1,4,9,16,25,36,49,64,81 are exact codes)
APRS_BEACON_HEIGHT="1" # PHG: Antenna HAAT in feet (10,20,40,80,160,320,640,1280,2560,5120)
APRS_BEACON_GAIN="3" # PHG: Antenna gain in dBi (0-9, typical: 0=rubber duck, 3=mobile, 6=beam)
APRS_BEACON_DIR="" # PHG: Directivity (N,NE,E,SE,S,SW,W,NW or blank=omni)
# APRS iGate Settings (receive RF, forward to APRS-IS)
ENABLE_APRS_IGATE="yes" # yes/no - enable internet gateway
APRS_SERVER="noam.aprs2.net" # APRS-IS server (noam/soam/euro)
# Direwolf Audio Configuration
DIREWOLF_ADEVICE="plughw:1,0" # Audio device (plughw:1,0 for Digirig)
DIREWOLF_PTT="CM108" # PTT method (CM108/RTS/DTR/GPIO/VOX)
# === Anytone D578UV Radio CAT Control ===
# D578UV CAT control is handled automatically by ETC's wrapper-rigctld.sh
# The radio JSON config is already included and will appear in et-radio menu
ENABLE_D578UV_CAT="no" # Reserved for future D578UV-specific options
# === et-os-addons Optional Features ===
# The et-os-addons repository provides optional application launchers and configs.
# Set to "yes" to enable each feature (default: all enabled).
ENABLE_ETOSADDONS_VR_N76="yes" # VR-N76 old radio utility and config
ENABLE_ETOSADDONS_QSSTV="yes" # QSSTV launcher and config template
ENABLE_ETOSADDONS_WSJTX="yes" # WSJT-X launcher and config template
ENABLE_ETOSADDONS_JS8SPOTTER="yes" # JS8Call spotter utility and launcher
ENABLE_ETOSADDONS_NETCONTROL="yes" # Network control utility
ENABLE_ETOSADDONS_HOTSPOT="yes" # WiFi hotspot launcher
ENABLE_ETOSADDONS_USERBACKUP="yes" # User backup manager utility
ENABLE_ETOSADDONS_KIWIX="yes" # Kiwix offline content browser
# === Additional System Packages ===
# Install optional development/utility packages in the ISO
# Space-separated list of apt package names (or leave empty to skip)
# Useful examples: jq curl wget htop neofetch gpsbabel qrcode-generator
# Note: git is installed by upstream ETC (install-dev-tools.sh)
# Note: CHIRP is installed via pipx during build (not apt)
# Note: Python tools (pipx, etc.) are already in upstream ETC
# Note: Microsoft Edge requires external PPA (unavailable in Ubuntu 22.10 EOL) - install post-build
ADDITIONAL_PACKAGES="nodejs npm" # Development tools (Node.js, npm)
# === ETC Settings Backup Restoration (Auto-Detected) ===
# Place backup files in ./cache/ and they will be automatically restored during build.
# No configuration needed - the build script auto-detects these files:
#
# User Settings Backup:
# File pattern: ./cache/etc-user-backup-*.tar.gz
# Create with: et-user-backup (on existing ETC system)
# Contains: ~/.config/emcomm-tools/, ~/.local/share/emcomm-tools/, ~/.local/share/pat/
#
# Wine/VARA Backup:
# File pattern: ./cache/etc-wine-backup-*.tar.gz
# Create with: ~/add-ons/wine/05-backup-wine-install.sh (on existing ETC system)
# Contains: ~/.wine32/ (entire VARA installation)
#
# The build script extracts these directly into /etc/skel, so settings are
# pre-configured when the user account is created. No post-install step needed.