From fcec18c7e01eb88dbfa62bc2f4de647f0ca48e6f Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Sun, 15 Feb 2026 18:41:55 -0600 Subject: [PATCH] clip tools --- flake.lock | 21 +++++++++++++++++++++ flake.nix | 4 ++++ hosts/workstation/configuration.nix | 5 ++++- 3 files changed, 29 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index 1bb6ad4..595054c 100644 --- a/flake.lock +++ b/flake.lock @@ -101,6 +101,26 @@ "type": "github" } }, + "clip-tools": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1771201957, + "narHash": "sha256-n/HsIpf4rLyUruV7Kudpwd2p2l7k8/0mU30fOAbA778=", + "ref": "refs/heads/main", + "rev": "1c89e61bce21a9c77a3d13a4c683413a9ac4acf7", + "revCount": 2, + "type": "git", + "url": "https://git.lebubu.org/vibe-coded/clip-tools.git" + }, + "original": { + "type": "git", + "url": "https://git.lebubu.org/vibe-coded/clip-tools.git" + } + }, "cpu-microcodes": { "flake": false, "locked": { @@ -1060,6 +1080,7 @@ }, "root": { "inputs": { + "clip-tools": "clip-tools", "doom-emacs": "doom-emacs", "flake-parts": "flake-parts", "fonts": "fonts", diff --git a/flake.nix b/flake.nix index f3773d5..eef0916 100644 --- a/flake.nix +++ b/flake.nix @@ -30,6 +30,10 @@ url = "git+https://git.lebubu.org/vibe-coded/lidarr-mb-gap.git"; inputs.nixpkgs.follows = "nixpkgs"; }; + clip-tools = { + url = "git+https://git.lebubu.org/vibe-coded/clip-tools.git"; + inputs.nixpkgs.follows = "nixpkgs"; + }; nur = { url = "github:nix-community/nur"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/hosts/workstation/configuration.nix b/hosts/workstation/configuration.nix index b6a8206..5e44f24 100644 --- a/hosts/workstation/configuration.nix +++ b/hosts/workstation/configuration.nix @@ -123,6 +123,7 @@ in systemPackages = builtins.attrValues { # thumbnail for heif files & videos inherit krita-thumbnailer; + inherit (pkgs.libheif) out; inherit (pkgs) libheif ffmpegthumbnailer @@ -132,7 +133,9 @@ in scrcpy codex ; - inherit (pkgs.libheif) out; + inherit (inputs.clip-tools.packages.${pkgs.system}) + clip-thumbnailer + ; }; etc."wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = '' bluez_monitor.properties = {