Security key support

This commit is contained in:
Jack Mechem 2026-04-30 12:59:55 -07:00
parent 62c054bae4
commit 63f906cecd
10 changed files with 121 additions and 19 deletions

View file

@ -1,4 +1,29 @@
{ inputs, pkgs, ... }:
{ inputs, pkgs, lib, ... }:
let
claw-code = pkgs.rustPlatform.buildRustPackage {
pname = "claw-code";
version = "unstable-2026";
src = pkgs.fetchFromGitHub {
owner = "ultraworkers";
repo = "claw-code";
rev = "main";
hash = "sha256-y63Kx7B1q2gWUO/4/k8hUgHzuKTi+HF+cGbr1em0grs=";
};
sourceRoot = "source/rust";
cargoHash = "sha256-bZKghBTbKrhm2Jiyg2su1c9Jlx2HVrMQjOTK6cgEc00=";
doCheck = false;
meta = {
description = "Open-source Rust implementation of the claw CLI agent harness";
homepage = "https://github.com/ultraworkers/claw-code";
};
};
in
{
home.packages = with pkgs; [
### Desktop Stuff
@ -23,6 +48,9 @@
### Note Taking
obsidian
### Input Remapping
ydotool
### Random Libraries and Dependencies
gtk3
glib
@ -37,8 +65,19 @@
jdk
gnumake
inputs.claude-code.packages.${pkgs.system}.claude-code
claw-code
opencode
postman
### My Stuff
inputs.hyprmwh.packages.${pkgs.system}.default
### Browsers
epiphany
chromium
### Editors
zed-editor
jetbrains.idea
];
}

View file

@ -40,6 +40,8 @@
"gtkbar"
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
"solaar -w hide"
"ydotoold"
"${pkgs.kdePackages.polkit-kde-agent-1}/libexec/polkit-kde-authentication-agent-1"
];
# --- Variables ---
@ -212,6 +214,9 @@
# Custom scripts
"${mainMod}, b, exec, bash -c 'pgrep gtkbar &>/dev/null && killall gtkbar || gtkbar &'"
"${mainMod}, minus, exec, ~/.config/hypr/togglemonitor.sh ${monitor3}"
# Mouse: back thumb button -> middle click (mchose mouse)
", mouse:275, exec, ydotool click 0xC2"
];
bindle = [