From b7cbbf01503af7043899a1b121561bf441be544e Mon Sep 17 00:00:00 2001 From: aloslider <53711835+aloslider@users.noreply.github.com> Date: Wed, 15 Apr 2026 20:38:33 +0300 Subject: [PATCH] Adjust config for nixos --- .chezmoi.toml.tmpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.chezmoi.toml.tmpl b/.chezmoi.toml.tmpl index 9a47546..16e6130 100644 --- a/.chezmoi.toml.tmpl +++ b/.chezmoi.toml.tmpl @@ -1,6 +1,10 @@ encryption = "age" [age] + {{- if eq .chezmoi.osRelease.id "nixos" }} + identity = "/etc/age/key.txt" + {{- else }} identity = "~/.config/chezmoi/key.txt" + {{- end }} recipient = "age1tl5hp6v0t38fl8gxuqds40z503mwz885ev22au4jdy5r24aak3zsza23sx" [bitwarden]