Compare commits
No commits in common. "00c0f93591d9d7c846cee96d08df4014ceebd860" and "c8b670c453749b13affb2e7952a5fb1f23830d0f" have entirely different histories.
00c0f93591
...
c8b670c453
@ -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]
|
||||||
|
@ -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" }}
|
||||||
|
10
key.txt.age
10
key.txt.age
@ -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-----
|
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user