Compare commits

..

4 Commits

Author SHA1 Message Date
inkch
e647999fba exclude scripts from diff 2024-01-18 22:45:30 +09:00
inkch
cc5f75a71c change path of the key.txt.age (now, it's in .assets) 2024-01-18 22:45:30 +09:00
inkch
57f60339d8 Delete duplicated script (decrypt-private-key.sh) 2024-01-18 22:45:30 +09:00
inkch
94cefa091a use delta as pager 2024-01-18 22:45:30 +09:00
9 changed files with 2 additions and 14 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -3,6 +3,7 @@
[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 }}/key.txt.age" chezmoi age decrypt --output "${HOME}/.config/chezmoi/key.txt" --passphrase "{{ .chezmoi.sourceDir }}/.assets/key.txt.age"
chmod 600 "${HOME}/.config/chezmoi/key.txt" chmod 600 "${HOME}/.config/chezmoi/key.txt"
fi fi

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 }}/.assets/key.txt.age"
chmod 600 "${HOME}/.config/chezmoi/key.txt"
fi