Compare commits

..

No commits in common. "00c0f93591d9d7c846cee96d08df4014ceebd860" and "c8b670c453749b13affb2e7952a5fb1f23830d0f" have entirely different histories.

4 changed files with 0 additions and 22 deletions

View File

@ -8,10 +8,6 @@
command = "nvim" command = "nvim"
args = ["-d", "{{ `{{ .Destination }}` }}", "{{ `{{ .Source }}` }}", "{{ `{{ .Target }}` }}"] args = ["-d", "{{ `{{ .Destination }}` }}", "{{ `{{ .Source }}` }}", "{{ `{{ .Target }}` }}"]
[age]
identity = "~/.config/chezmoi/key.txt"
recipient = "age1j75kdg9enpwlvnmxv3qak90gn5swlez63f580wzj6ucw37xemy3s0knqa6" # can be array
{{- $choices := list "desktop" "laptop" "server" }} {{- $choices := list "desktop" "laptop" "server" }}
{{ $hosttype := promptChoiceOnce . "hosttype" "What type of host" $choices }} {{ $hosttype := promptChoiceOnce . "hosttype" "What type of host" $choices }}
[data] [data]

View File

@ -2,7 +2,6 @@
# https://www.chezmoi.io/reference/special-files-and-directories/chezmoiignore/ # https://www.chezmoi.io/reference/special-files-and-directories/chezmoiignore/
README.md README.md
key.txt.age
.bashrc .bashrc
{{- if ne .chezmoi.osRelease.id "arch" }} {{- if ne .chezmoi.osRelease.id "arch" }}

View File

@ -1,10 +0,0 @@
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNjcnlwdCBYUktsZFNMd1RKY0wxaC9M
M01WTUVRIDE4CnFoeFQyODFtZzZGQ3IvSkM2bENtVHdUdGpPVmRJRU5mRytzM2lj
Rzc1U28KLS0tIEFPcTMyY1ZqK3FXMlZOczZhL3VaUHFzOWtxaU5QSFNhZ25TejJp
WCtrTHcKZIO64yEvnkbmnnViQZNM6b2NZeynphRxSUwiuDae0J52fUeVp1cDpAoi
yEytIo7+7/UW8sKzwQsaSdC01veGK2Ks4a9j7UlUloc+e5bE4qcf2oJLylNnpsht
4e7eZV+9Q62Ph3K+NJQQY3vPYP3iruXHtG4aqp+Ua77tRTewniGzjDkDQu160PPc
fnU6XI4VydgKLr++MXvUU90iFYlvTp0lN1KkkqrJpZ2UboA6MUsXOW9hUAt9aeWG
oiJvl+7mKe965XXvxPgOniPlUEHAZWWYLX5xmu3AUwrYq1k=
-----END AGE ENCRYPTED FILE-----

View File

@ -1,7 +0,0 @@
#!/bin/sh
if [ ! -f "${HOME}/.config/chezmoi/key.txt" ]; then
mkdir -p "${HOME}/.config/chezmoi"
chezmoi age decrypt --output "${HOME}/.config/chezmoi/key.txt" --passphrase "{{ .chezmoi.sourceDir }}/key.txt.age"
chmod 600 "${HOME}/.config/chezmoi/key.txt"
fi