Fix chezmoi config tmpl not able to read data
This commit is contained in:
+2
-2
@@ -2,9 +2,9 @@ encryption = "age"
|
|||||||
|
|
||||||
[age]
|
[age]
|
||||||
{{ if eq .chezmoi.osRelease.id "nixos" }}
|
{{ if eq .chezmoi.osRelease.id "nixos" }}
|
||||||
identity = "{{ .nixosAgeKeyPath }}"
|
identity = "/etc/age/key.txt"
|
||||||
{{ else }}
|
{{ else }}
|
||||||
identity = "{{ .defaultAgeKeyPath }}"
|
identity = "~/.config/age/key.txt"
|
||||||
{{ end }}
|
{{ end }}
|
||||||
recipient = "age1tl5hp6v0t38fl8gxuqds40z503mwz885ev22au4jdy5r24aak3zsza23sx"
|
recipient = "age1tl5hp6v0t38fl8gxuqds40z503mwz885ev22au4jdy5r24aak3zsza23sx"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user