feat(handy): package Handy for Nix

This commit is contained in:
2026-01-25 16:19:09 +01:00
parent d689def4e4
commit 5fca31d1ee
3 changed files with 24 additions and 2 deletions

13
packages/handy.nix Normal file
View File

@@ -0,0 +1,13 @@
{
appimageTools,
fetchurl,
}:
appimageTools.wrapType2 rec {
pname = "handy";
version = "0.7.6";
src = fetchurl {
url = "https://github.com/cjpais/Handy/releases/download/v${version}/Handy_${version}_amd64.AppImage";
hash = "sha256-UZNt3lfKo6dBRWK1YD03HmcZsx/Zu2J3eD5VdTw+poU=";
};
extraPkgs = pkgs: [pkgs.wtype];
}

View File

@@ -6,6 +6,9 @@
}:
with lib; let
inherit (pkgs.stdenv.hostPlatform) system;
handy = pkgs.callPackage ../../packages/handy.nix {};
pumo-system-info = inputs.pumo-system-info.packages.${system}.default;
zen = inputs.zen-browser.packages.${system}.default;
in {
programs.bun.enable = true;
home.packages = with pkgs; [
@@ -40,14 +43,15 @@ in {
# Misc
bitwarden-desktop
gplates
handy
libnotify
nextcloud-client
onlyoffice-desktopeditors
pumo-system-info
scrcpy
syncthing
watchmate
inputs.zen-browser.packages.${system}.default
inputs.pumo-system-info.packages.${system}.default
zen
# Games
atlauncher

View File

@@ -57,6 +57,11 @@
desc = "Gimp";
cmd = "${pkgs.gimp}/bin/gimp";
}
{
key = "h";
desc = "Handy";
cmd = "pkill -USR2 -n handy";
}
{
key = "n";
desc = "Nemo";