Adjust config for nixos

This commit is contained in:
aloslider
2026-04-15 20:38:33 +03:00
parent 135b1acbf3
commit b7cbbf0150
+4
View File
@@ -1,6 +1,10 @@
encryption = "age" encryption = "age"
[age] [age]
{{- if eq .chezmoi.osRelease.id "nixos" }}
identity = "/etc/age/key.txt"
{{- else }}
identity = "~/.config/chezmoi/key.txt" identity = "~/.config/chezmoi/key.txt"
{{- end }}
recipient = "age1tl5hp6v0t38fl8gxuqds40z503mwz885ev22au4jdy5r24aak3zsza23sx" recipient = "age1tl5hp6v0t38fl8gxuqds40z503mwz885ev22au4jdy5r24aak3zsza23sx"
[bitwarden] [bitwarden]