Compare commits

..

2 Commits

Author SHA1 Message Date
inkch
ec4b928a8b use delta as pager 2024-01-18 12:44:55 +09:00
inkch
fc5579fd9f add ssh public keys 2024-01-18 12:27:54 +09:00
9 changed files with 14 additions and 2 deletions

1
.assets/arch_ecc.pub Normal file
View File

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA6kT1StOnTqzAsHrfD2hYseT0NNn4jmWWr/QOIAqFhQ inkch@arch

1
.assets/buzz_ecc.pub Normal file
View File

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFi+/1XAFLuDHP7poYvCHDNU0WxWc3PJVJJdFe+CoPTN inkch@kuro

1
.assets/devo_ecc.pub Normal file
View File

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFPsBbiLijh2XF6ZQqegMxDLBBGWjwBeUV1OslsZEf8M inkch@devo

View File

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHEJJRR2LJUZRw/ACfz4dlKmNj6481E+XBNAAr9qp4Kf inkch@arch@emergency1

View File

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMfXbU51hUJ8gfA85ICQobXFgC7WuhyIlVAblGkksifz inkch@arch@emergency2

1
.assets/rpi4_ecc.pub Normal file
View File

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIIBNlGgKihZ/TKCbc4uMcxfoiZUwADBq0fm/vGOrhoJ admin@rpi4

View File

@ -3,7 +3,6 @@
[diff] [diff]
pager = "delta" pager = "delta"
exclude = ["scripts"]
[merge] [merge]
command = "nvim" command = "nvim"

View File

@ -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

View 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