Add age key creation skip; Move paths to vars;
This commit is contained in:
+6
-5
@@ -1,10 +1,11 @@
|
||||
encryption = "age"
|
||||
|
||||
[age]
|
||||
{{- if eq .chezmoi.osRelease.id "nixos" }}
|
||||
identity = "/etc/age/key.txt"
|
||||
{{- else }}
|
||||
identity = "~/.config/chezmoi/key.txt"
|
||||
{{- end }}
|
||||
{{ if eq .chezmoi.osRelease.id "nixos" }}
|
||||
identity = "{{ .vars.nixosAgeKeyPath }}"
|
||||
{{ else }}
|
||||
identity = "{{ .vars.defaultAgeKeyPath }}"
|
||||
{{ end }}
|
||||
recipient = "age1tl5hp6v0t38fl8gxuqds40z503mwz885ev22au4jdy5r24aak3zsza23sx"
|
||||
|
||||
[bitwarden]
|
||||
|
||||
Reference in New Issue
Block a user