Initial commit with git config included

This commit is contained in:
JLP 2025-05-17 18:33:56 -04:00
commit 2a5c3d820e
Signed by: jleechpe
GPG key ID: 414E00D1FF7519DC
11 changed files with 91 additions and 0 deletions

0
.gitattributes vendored Normal file
View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
key.txt

2
.stowrc Normal file
View file

@ -0,0 +1,2 @@
--target=$HOME
--no-folding

1
README.org Normal file
View file

@ -0,0 +1 @@
Dotfiles

46
git/.gitconfig Normal file
View file

@ -0,0 +1,46 @@
;;; -*- mode: conf-unix; -*-
# User Setup
[user]
name = Jonathan Leech-Pepin
email = jonathan@leechpepin.com
signingKey = 414E00D1FF7519DC
[gitlab]
user = jleechpe
[github]
user = jleechpe
# Push instead of configuration
[url "ssh://git@github.com/"]
pushInsteadOf= https://github.com/
[url "git@codeberg.org:"]
pushInsteadOf = https://codeberg.org/
[url "git@forgejo.leechpepin.com:"]
pushInsteadOf = https://forgejo.leechpepin.com
# Defaults
[init]
defaultBranch = main
[core]
excludesFile = ~/.gitignore_global
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
side-by-side = true
hyperlinks = true
line-numbers = true
[diff]
colorMoved = default
[commit]
gpgsign = true
# Defaults for JLP Tech Consulting
[includeIf "gitdir:~/jlptech/"]
path = ~/jlptech/.gitconfig

9
git/.gitignore_global Normal file
View file

@ -0,0 +1,9 @@
# Ignore local.tf for testing
local.tf
# Ignore direnv related
.envrc
.direnv/
# Ignore tabby files
audit.json

View file

@ -0,0 +1,7 @@
[user]
name = JLP
email = jlp@consultjlp.com
signingKey = BB6A288E6948BADB
[commit]
gpgSign = true

View file

@ -0,0 +1 @@
jlptech

13
justfile Normal file
View file

@ -0,0 +1,13 @@
default:
@just --list
install_git_filters:
@git config filter.ageEncrypt.clean "age -a -R key.pub"
@git config filter.ageEncrypt.smudge "age -d -i key.txt"
unlock_key:
@[ -f key.txt ] || age -d -o key.txt key.txt.age
setup:
just unlock_key
just install_git_filters

1
key.pub Normal file
View file

@ -0,0 +1 @@
age1q7gnzl3w9zw5jxc5c6cse5plmln4sd6gzyhyt2wftk65yw8glvjqvv2640

10
key.txt.age Normal file
View file

@ -0,0 +1,10 @@
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNjcnlwdCBybEhnOWIreVllc1pMMzlu
aHZWck1RIDE4CmI4ZkFkWjg5cWRaNGcyUW9tMW1YUVZZczRXeFJuTGJybEx1L2Jz
ZnY2aFUKLS0tIFM1N1F5MFo3bFFWUDNSQzZvM0gyN2h6SHJadXpZTjVZRENTbStv
aU1JdU0KzsXrkGHMoTJhakEsCs0tVBAPK/29Io+xNrkGIbuID7B2NnrgmkzllUXW
BHHUNPKUj8nkWZZHKn7YbDvYbRszCpQXrWfaU7PmKAvbknBNsR+Xqu51dgvgqPzZ
FGoAipf/0blj26Z4mkVxngL0mLeYtIKwm1tLdUF4BUk6lOXYLtrwSFKkG2SnH00L
ErYGty1eUJymcfX4NyzcGVrVd8lCFEtS/O+rM1n9QJVzGZc/RcMR3IsSKsG9HMO8
sRBAamLhmoXX1j1NQ7SclTbSJtpyeeLzOoerySMFdwOBUrY=
-----END AGE ENCRYPTED FILE-----