aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.chezmoi.toml.tmpl
diff options
context:
space:
mode:
Diffstat (limited to '.chezmoi.toml.tmpl')
-rw-r--r--.chezmoi.toml.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/.chezmoi.toml.tmpl b/.chezmoi.toml.tmpl
index f41c11a..f7b1156 100644
--- a/.chezmoi.toml.tmpl
+++ b/.chezmoi.toml.tmpl
@@ -5,3 +5,9 @@ sourceDir = {{ .chezmoi.sourceDir | quote }}
[diff]
exclude = ["scripts"]
+
+[data]
+ # Block device holding the LUKS-encrypted root, without the /dev/ prefix
+ # (e.g. "nvme0n1p2", "sda2"). Resolved to a UUID at apply time via lsblk,
+ # used by etc/kernel/cmdline.tmpl.
+ luksRootPartition = {{ promptStringOnce . "luksRootPartition" "LUKS root partition (e.g. nvme0n1p2)" | quote }}