commit 2a5c3d820e0a8eba65e40050a5c27c95aed210f5 Author: Jonathan Leech-Pepin Date: Sat May 17 18:33:56 2025 -0400 Initial commit with git config included diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..e69de29 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4dcd5a6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +key.txt diff --git a/.stowrc b/.stowrc new file mode 100644 index 0000000..940b1a8 --- /dev/null +++ b/.stowrc @@ -0,0 +1,2 @@ +--target=$HOME +--no-folding diff --git a/README.org b/README.org new file mode 100644 index 0000000..b8476ea --- /dev/null +++ b/README.org @@ -0,0 +1 @@ +Dotfiles diff --git a/git/.gitconfig b/git/.gitconfig new file mode 100644 index 0000000..ae94500 --- /dev/null +++ b/git/.gitconfig @@ -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 diff --git a/git/.gitignore_global b/git/.gitignore_global new file mode 100644 index 0000000..90a43f9 --- /dev/null +++ b/git/.gitignore_global @@ -0,0 +1,9 @@ +# Ignore local.tf for testing +local.tf + +# Ignore direnv related +.envrc +.direnv/ + +# Ignore tabby files +audit.json diff --git a/jlptech/jlptech/.gitconfig b/jlptech/jlptech/.gitconfig new file mode 100644 index 0000000..4807ac0 --- /dev/null +++ b/jlptech/jlptech/.gitconfig @@ -0,0 +1,7 @@ +[user] + name = JLP + email = jlp@consultjlp.com + signingKey = BB6A288E6948BADB + +[commit] + gpgSign = true diff --git a/jlptech/jlptech/.wakatime-project b/jlptech/jlptech/.wakatime-project new file mode 100644 index 0000000..d0f550e --- /dev/null +++ b/jlptech/jlptech/.wakatime-project @@ -0,0 +1 @@ +jlptech diff --git a/justfile b/justfile new file mode 100644 index 0000000..e74ad51 --- /dev/null +++ b/justfile @@ -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 diff --git a/key.pub b/key.pub new file mode 100644 index 0000000..e7d8b97 --- /dev/null +++ b/key.pub @@ -0,0 +1 @@ +age1q7gnzl3w9zw5jxc5c6cse5plmln4sd6gzyhyt2wftk65yw8glvjqvv2640 diff --git a/key.txt.age b/key.txt.age new file mode 100644 index 0000000..31ec1b6 --- /dev/null +++ b/key.txt.age @@ -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-----