Compare commits
2 Commits
e647999fba
...
ec4b928a8b
Author | SHA1 | Date | |
---|---|---|---|
|
ec4b928a8b | ||
|
fc5579fd9f |
1
.assets/arch_ecc.pub
Normal file
1
.assets/arch_ecc.pub
Normal file
@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA6kT1StOnTqzAsHrfD2hYseT0NNn4jmWWr/QOIAqFhQ inkch@arch
|
1
.assets/buzz_ecc.pub
Normal file
1
.assets/buzz_ecc.pub
Normal file
@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFi+/1XAFLuDHP7poYvCHDNU0WxWc3PJVJJdFe+CoPTN inkch@kuro
|
1
.assets/devo_ecc.pub
Normal file
1
.assets/devo_ecc.pub
Normal file
@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFPsBbiLijh2XF6ZQqegMxDLBBGWjwBeUV1OslsZEf8M inkch@devo
|
1
.assets/emergency_key1.pub
Normal file
1
.assets/emergency_key1.pub
Normal file
@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHEJJRR2LJUZRw/ACfz4dlKmNj6481E+XBNAAr9qp4Kf inkch@arch@emergency1
|
1
.assets/emergency_key2.pub
Normal file
1
.assets/emergency_key2.pub
Normal file
@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMfXbU51hUJ8gfA85ICQobXFgC7WuhyIlVAblGkksifz inkch@arch@emergency2
|
1
.assets/rpi4_ecc.pub
Normal file
1
.assets/rpi4_ecc.pub
Normal file
@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIIBNlGgKihZ/TKCbc4uMcxfoiZUwADBq0fm/vGOrhoJ admin@rpi4
|
@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
[diff]
|
[diff]
|
||||||
pager = "delta"
|
pager = "delta"
|
||||||
exclude = ["scripts"]
|
|
||||||
|
|
||||||
[merge]
|
[merge]
|
||||||
command = "nvim"
|
command = "nvim"
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
if [ ! -f "${HOME}/.config/chezmoi/key.txt" ]; then
|
if [ ! -f "${HOME}/.config/chezmoi/key.txt" ]; then
|
||||||
mkdir -p "${HOME}/.config/chezmoi"
|
mkdir -p "${HOME}/.config/chezmoi"
|
||||||
chezmoi age decrypt --output "${HOME}/.config/chezmoi/key.txt" --passphrase "{{ .chezmoi.sourceDir }}/.assets/key.txt.age"
|
chezmoi age decrypt --output "${HOME}/.config/chezmoi/key.txt" --passphrase "{{ .chezmoi.sourceDir }}/key.txt.age"
|
||||||
chmod 600 "${HOME}/.config/chezmoi/key.txt"
|
chmod 600 "${HOME}/.config/chezmoi/key.txt"
|
||||||
fi
|
fi
|
||||||
|
7
run_once_before_decrypt-private-key.sh.tmpl
Normal file
7
run_once_before_decrypt-private-key.sh.tmpl
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#!/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 }}/.assets/key.txt.age"
|
||||||
|
chmod 600 "${HOME}/.config/chezmoi/key.txt"
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user