projects

dotfiles

My configuration files

add karabiner, remote host git signing key

daniel daum committed parent 083026f commit c5a4a8fVerified signature by Daniel Daum

Verifiedsigned by Daniel Daum with SSH key SHA256:drhIqfmUzuijEg5lpF1wfHhbG2Z4ebL9Lf+nLCJWAfg

Showing 5 changed files with 87 additions and 1 deletion.

.gitconfig +1 −1
@@ -1,7 +1,7 @@11[user]22	name = daniel daum33	email = daniel@danieldaum.net4	signingkey = key::ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKvRA33MsfQeiOntCSFFsgkTxF988KkwGKC1u7S6o8o0Mfji4gDfJE3waDSyo9UWKsiFnB4bNXFM31L+HHxNCxY=4	signingkey = key::ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBjfvyQvXhp0zOi6w4dpANVBl80um4L31uZXpVmLhZAfR+OkNxRBLlyGo8M877s0thLO15hDjWKcyqvYza2IAdQ=55[commit]66	gpgsign = true77[tag]
Brewfile +2 −0
@@ -26,6 +26,8 @@ cask "godot"2626cask "homebrew-app"2727# Free and open-source media player2828cask "iina"29# Keyboard customiser30cask "karabiner-elements"2931# Discover, download, and run local LLMs3032cask "lm-studio"3133# AI agent for working with open models
karabiner.jsonadded +70 −0
@@ -0,0 +1,70 @@1// # custom karabiner rule fn + 1...n keys for my mode keyboard23{4  "description": "Fn + number row = F1-F12",5  "manipulators": [6    {7      "type": "basic",8      "from": { "key_code": "1", "modifiers": { "mandatory": ["fn"] } },9      "to": [{ "key_code": "f1" }]10    },11    {12      "type": "basic",13      "from": { "key_code": "2", "modifiers": { "mandatory": ["fn"] } },14      "to": [{ "key_code": "f2" }]15    },16    {17      "type": "basic",18      "from": { "key_code": "3", "modifiers": { "mandatory": ["fn"] } },19      "to": [{ "key_code": "f3" }]20    },21    {22      "type": "basic",23      "from": { "key_code": "4", "modifiers": { "mandatory": ["fn"] } },24      "to": [{ "key_code": "f4" }]25    },26    {27      "type": "basic",28      "from": { "key_code": "5", "modifiers": { "mandatory": ["fn"] } },29      "to": [{ "key_code": "f5" }]30    },31    {32      "type": "basic",33      "from": { "key_code": "6", "modifiers": { "mandatory": ["fn"] } },34      "to": [{ "key_code": "f6" }]35    },36    {37      "type": "basic",38      "from": { "key_code": "7", "modifiers": { "mandatory": ["fn"] } },39      "to": [{ "key_code": "f7" }]40    },41    {42      "type": "basic",43      "from": { "key_code": "8", "modifiers": { "mandatory": ["fn"] } },44      "to": [{ "key_code": "f8" }]45    },46    {47      "type": "basic",48      "from": { "key_code": "9", "modifiers": { "mandatory": ["fn"] } },49      "to": [{ "key_code": "f9" }]50    },51    {52      "type": "basic",53      "from": { "key_code": "0", "modifiers": { "mandatory": ["fn"] } },54      "to": [{ "key_code": "f10" }]55    },56    {57      "type": "basic",58      "from": { "key_code": "hyphen", "modifiers": { "mandatory": ["fn"] } },59      "to": [{ "key_code": "f11" }]60    },61    {62      "type": "basic",63      "from": {64        "key_code": "equal_sign",65        "modifiers": { "mandatory": ["fn"] }66      },67      "to": [{ "key_code": "f12" }]68    }69  ]70}
scripts/signing key/git-signing-key added +4 −0
@@ -0,0 +1,4 @@1#!/bin/sh2key=$(ssh-add -L | grep -m1 '^ecdsa-sha2-nistp256 ')3[ -n "$key" ] || { echo "no Secretive key in agent" >&2; exit 1; }4echo "key::$key"
scripts/signing key/init.txt added +10 −0
@@ -0,0 +1,10 @@1make ~/.local/bin/git-signing-key23chmod +x ~/.local/bin/git-signing-key45ssh-add -L67git config --global gpg.format ssh8git config --global commit.gpgsign true910git config --global gpg.ssh.defaultKeyCommand ~/.local/bin/git-signing-key