From b14cf69b84038f9b40c09a1ba6de400af612ae07 Mon Sep 17 00:00:00 2001 From: karitham Date: Mon, 24 Aug 2026 10:16:08 +0200 Subject: [PATCH] handy: fix, update llm-agents --- flake.lock | 29 ++++++++++++++--------------- flake.nix | 4 +++- systems/kiwi/handy.nix | 16 ++++++++++------ 3 files changed, 27 insertions(+), 22 deletions(-) diff --git a/flake.lock b/flake.lock index 56ac3d3..08c05a3 100644 --- a/flake.lock +++ b/flake.lock @@ -190,16 +190,15 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1777289845, - "narHash": "sha256-XbBU3XHWhxin+BKGIHW8sVlyfYp8xZxTycuR93BgVPo=", - "owner": "LukeCarrier", + "lastModified": 1787554887, + "narHash": "sha256-6eNa9iNjwKgLL8t72GeMHTxjyHaeVl+9VF/QWjlHzts=", + "owner": "cjpais", "repo": "handy", - "rev": "862c3d8f2284a56e586f24bbbbd4694d5aa008f3", + "rev": "af48dd68a64d58aad128fdbb920492a03da53c79", "type": "github" }, "original": { - "owner": "LukeCarrier", - "ref": "fix-wayland-enigo-woes", + "owner": "cjpais", "repo": "handy", "type": "github" } @@ -213,11 +212,11 @@ "utils": "utils" }, "locked": { - "lastModified": 1786886160, - "narHash": "sha256-legFYpDokCOzwAPmyH7mDi+2jkllaeE+czhJifeQsFU=", + "lastModified": 1787300923, + "narHash": "sha256-HSyz9Jbpz2Iz43lC1yYv2T+T3Lv+6coLLDv2lFv1SfE=", "owner": "schembriaiden", "repo": "helium-browser-nix-flake", - "rev": "11edc339e075f16b356852096420ecd966462cc1", + "rev": "72a3f0cd428f04e1da9be5ea9554409f00ee4b20", "type": "github" }, "original": { @@ -353,11 +352,11 @@ "treefmt-nix": "treefmt-nix_2" }, "locked": { - "lastModified": 1787216589, - "narHash": "sha256-XtBw86QXg9HtTU1IlD3yTpIHAG0r5df6SCrpDVG/1Cc=", + "lastModified": 1787551962, + "narHash": "sha256-zfumhlJTGDKSILebSBa8nTKG76ByIPlLkGPAKjxaiwE=", "owner": "numtide", "repo": "llm-agents.nix", - "rev": "5aad5f64e621fc35fed0fddcc2b6e17ab662cf78", + "rev": "46e6a013fd49779cd2def2c98fa447f197da3fe7", "type": "github" }, "original": { @@ -464,11 +463,11 @@ }, "nixpkgs-darwin": { "locked": { - "lastModified": 1786527240, - "narHash": "sha256-OLtJPnSXcRy79Rf7BhYaMeXAVF625FpLcd3+Svq641Y=", + "lastModified": 1786920013, + "narHash": "sha256-tlbRqzZ3suDUO3vyR0QFBk0TrxJiRP50t7VWfHhtVrw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "e0c84f9d0ad137f076dc957494f5b39885597d4f", + "rev": "33da5f36e599b50aa7dbbfacb718254423b18354", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 21b3975..166d094 100644 --- a/flake.nix +++ b/flake.nix @@ -57,7 +57,7 @@ inputs.nixpkgs.follows = "nixpkgs"; }; handy = { - url = "github:LukeCarrier/handy/fix-wayland-enigo-woes"; + url = "github:cjpais/handy"; }; helium = { url = "github:schembriaiden/helium-browser-nix-flake"; @@ -87,6 +87,7 @@ "https://cache.numtide.com" "https://nix-cache.karitham.dev/dotfiles" "https://noctalia.cachix.org" + "https://handy-computer.cachix.org" ]; extra-trusted-public-keys = [ "helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs=" @@ -94,6 +95,7 @@ "niks3.numtide.com-1:DTx8wZduET09hRmMtKdQDxNNthLQETkc/yaX7M4qK0g=" "dotfiles:1EQBeGcPmLGKAW4WxYGfyyKOVI4rd/hM58QnIPQdMGI=" "noctalia.cachix.org-1:pCOR47nnMEo5thcxNDtzWpOxNFQsBRglJzxWPp3dkU4=" + "handy-computer.cachix.org-1:Sihzctn6DC0CJM5QeL+9nBEL3CL8c33m777C+eIv748=" ]; }; } diff --git a/systems/kiwi/handy.nix b/systems/kiwi/handy.nix index 6c97319..4447ee9 100644 --- a/systems/kiwi/handy.nix +++ b/systems/kiwi/handy.nix @@ -1,13 +1,17 @@ -{ inputs', lib, ... }: { +{ inputs', lib, ... }: +let + handy = inputs'.handy.packages.default; +in +{ programs.niri.settings.binds = { - "Mod+Shift+M".action.spawn = [ - (lib.getExe inputs'.handy.packages.handy) + "Mod+M".action.spawn = [ + (lib.getExe handy) "--toggle-transcription" ]; - "Mod+Shift+N".action.spawn = [ - (lib.getExe inputs'.handy.packages.handy) + "Mod+N".action.spawn = [ + (lib.getExe handy) "--toggle-post-process" ]; }; - home.packages = [ inputs'.handy.packages.handy ]; + home.packages = [ handy ]; } -- 2.51.2