From 2f2ba5f1dc6a838ebf90a4c2f396cd8420575453 Mon Sep 17 00:00:00 2001 From: aloslider <53711835+aloslider@users.noreply.github.com> Date: Thu, 23 Apr 2026 01:49:44 +0300 Subject: [PATCH] Fix chezmoi config tmpl not able to read data --- .chezmoi.toml.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.chezmoi.toml.tmpl b/.chezmoi.toml.tmpl index f93afe6..e58f5e8 100644 --- a/.chezmoi.toml.tmpl +++ b/.chezmoi.toml.tmpl @@ -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"