diff --git a/private_dot_config/chezmoi/chezmoi.toml.tmpl b/private_dot_config/chezmoi/chezmoi.toml.tmpl index 4284a80..5d1a5bd 100644 --- a/private_dot_config/chezmoi/chezmoi.toml.tmpl +++ b/private_dot_config/chezmoi/chezmoi.toml.tmpl @@ -32,37 +32,6 @@ encryption = "age" [git] autoCommit = true autoPush = true - commitMessageTemplate = """\ - {{ "{{-" }} $files := index . "files" {{ "}}" }} - {{ "{{-" }} if not (and $files (gt (len $files) 0)) {{ "}}" }} - chore: Files removed or no specific files modified. - {{ "{{-" }} else {{ "}}" }} - {{ "{{-" }} $path := list {{ "}}" }} - {{ "{{-" }} range $files {{ "}}" }} - {{ "{{-" }} $path = append $path .path {{ "}}" }} - {{ "{{-" }} end {{ "-}}" }} - {{ "{{-" }} $firstFile := index $path 0 {{ "-}}" }} - {{ "{{-" }} $dir := dir $firstFile {{ "-}}" }} - - {{ "{{-" }} if contains "encrypted_" $firstFile {{ "-}}" }} - security(secret): {{ "{{" }} if eq (len $files) 1 {{ "}}" }}update {{ "{{" }} base $firstFile {{ "}}" }}{{ "{{" }} else {{ "}}" }}update multiple encrypted files{{ "{{" }} end {{ "}}" }} - {{ "{{-" }} else if contains "scripts/" $firstFile {{ "-}}" }} - script({{ "{{" }} $dir {{ "}}" }}): {{ "{{" }} if eq (len $files) 1 {{ "}}" }}update {{ "{{" }} base $firstFile {{ "}}" }}{{ "{{" }} else {{ "}}" }}update multiple script files{{ "{{" }} end {{ "}}" }} - {{ "{{-" }} else if contains "exact_" $firstFile {{ "-}}" }} - chore(external): {{ "{{" }} if eq (len $files) 1 {{ "}}" }}update {{ "{{" }} base $firstFile {{ "}}" }}{{ "{{" }} else {{ "}}" }}update external dependencies{{ "{{" }} end {{ "}}" }} - {{ "{{-" }} else {{ "-}}" }} - chore({{ "{{" }} $dir {{ "}}" }}): {{ "{{" }} if eq (len $files) 1 {{ "}}" }}update {{ "{{" }} base $firstFile {{ "}}" }}{{ "{{" }} else {{ "}}" }}update multiple files{{ "{{" }} end {{ "}}" }} - {{ "{{-" }} end {{ "}}" }} - - {{ "{{-" }} if gt (len $files) 1 {{ "}}" }} - - Modified files: - {{ "{{-" }} range $files {{ "}}" }} - {{ "- {{" }} .path {{ "}}" }} - {{ "{{-" }} end {{ "}}" }} - {{ "{{-" }} end {{ "}}" }} - {{ "{{-" }} end {{ "}}" }} - """ [git.commit] gpgsign = true diff --git a/private_dot_ssh/encrypted_config.age b/private_dot_ssh/encrypted_config.age index 25364f0..9569491 100644 --- a/private_dot_ssh/encrypted_config.age +++ b/private_dot_ssh/encrypted_config.age @@ -1,10 +1,10 @@ -----BEGIN AGE ENCRYPTED FILE----- -YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBZYmdXUitveWs3aTNaS2hs -SGlKR2ZPek5HUkFyK0N1dVh0TkJBTWV3Q0J3CnFlQW4rVUFkWHRHQ0ZSNXJEVTdp -Nk02SjlZd0dNbCtXWUxwMDNMQ29HSW8KLS0tIEhaMEJ5N0t6UGpTNFVaN04zYkVU -TFZielNiYTNYWnVORDJnME00WDcvZVUKfvJIbY7eW+LsYz/MsKE6ese0X3Ie8IXm -2gQgiwx22HHU8JckAPLwvaXIOAj7LfFSsfdk7SJ5cF5Mx0NGZe6PIK0eBXZPFl+e -kGgfM9LTKT5+s8IQyN+1UXOII7SsZK8j6MPWkv/f72JxCdavxf6eLxs4FHXXVbNi -yX1Ah6t5d0CC0M0Gl62gojDjw59O5eRZyV1b/1nXUjyFQkmFKwtDDHZ8ixTUGSyA -bwJ6hrMAWOmkyCyecdPwlCtGZxfcO76qbCtPSEGlHGQyhNFfYA== +YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSA5d3Z6TElrN2FhSWd3SFpq +QlBkWUJQcWFhSXU3ZUJEUHlMMnp3Nis1dFEwCkpTd1U4TGQxOFZocDd3eHBvNWxF +UnRTN2JsVEJJejB0RXh3ZFJEWFlFWUEKLS0tIHFBZ2NGNFFMTHpUTERi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