Fix chezmoi config tmpl not able to read data

This commit is contained in:
aloslider
2026-04-23 01:49:44 +03:00
parent 35c544038c
commit 2f2ba5f1dc
+2 -2
View File
@@ -2,9 +2,9 @@ encryption = "age"
[age]
{{ if eq .chezmoi.osRelease.id "nixos" }}
identity = "{{ .nixosAgeKeyPath }}"
identity = "/etc/age/key.txt"
{{ else }}
identity = "{{ .defaultAgeKeyPath }}"
identity = "~/.config/age/key.txt"
{{ end }}
recipient = "age1tl5hp6v0t38fl8gxuqds40z503mwz885ev22au4jdy5r24aak3zsza23sx"