summaryrefslogtreecommitdiff
path: root/archsetup.conf.example
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-23 08:26:02 -0600
committerCraig Jennings <c@cjennings.net>2026-01-23 08:26:02 -0600
commit34737af104bf1a2a287e8a4650abd59e64294a3c (patch)
tree037461fbb4485c38b737efa276bec9cab61b711b /archsetup.conf.example
parentbe066310d83a076c97ac013f6a3d7ea7d7c3bf06 (diff)
feat(archsetup): add config file support for unattended installs
- Add --config-file PATH CLI flag - Add load_config() function to source config variables - Support USERNAME, PASSWORD, AUTOLOGIN, NO_GPU_DRIVERS config options - Create archsetup.conf.example with documented options Follows same pattern as archzfs project for consistency.
Diffstat (limited to 'archsetup.conf.example')
-rw-r--r--archsetup.conf.example32
1 files changed, 32 insertions, 0 deletions
diff --git a/archsetup.conf.example b/archsetup.conf.example
new file mode 100644
index 0000000..969079a
--- /dev/null
+++ b/archsetup.conf.example
@@ -0,0 +1,32 @@
+# archsetup.conf - Configuration for unattended installation
+#
+# Copy this file and edit values for your setup:
+# cp archsetup.conf.example archsetup.conf
+#
+# Then run:
+# ./archsetup --config-file archsetup.conf
+#
+# All fields have defaults - only specify what you want to change.
+
+#############################
+# User Configuration
+#############################
+
+# Username for the primary user account (default: cjennings)
+USERNAME=cjennings
+
+# Initial password - should be changed on first login (default: welcome)
+PASSWORD=welcome
+
+#############################
+# System Options
+#############################
+
+# Automatic console login after disk decryption (default: prompt on encrypted systems)
+# Options: yes, no
+# Only relevant for systems with encrypted root (LUKS or ZFS native encryption)
+#AUTOLOGIN=yes
+
+# Skip GPU driver auto-detection and installation (default: no)
+# Set to "yes" if you want to handle GPU drivers manually
+#NO_GPU_DRIVERS=no