From e89003a0636c4a885fc50411176b9eeab67167d0 Mon Sep 17 00:00:00 2001 From: servius Date: Thu, 12 Mar 2026 13:40:10 +0530 Subject: [PATCH] feat: added ironclaw --- flake.lock | 12 ++++++------ flake.nix | 8 ++++++++ home/apps/zen.nix | 9 +++++++++ home/services/default.nix | 1 + home/services/ironclaw.nix | 5 +++++ overlays.nix | 6 ++++++ 6 files changed, 35 insertions(+), 6 deletions(-) create mode 100644 home/services/ironclaw.nix diff --git a/flake.lock b/flake.lock index 7bee1ed8..8b423201 100644 --- a/flake.lock +++ b/flake.lock @@ -491,10 +491,10 @@ "crates-io-index": { "flake": false, "locked": { - "lastModified": 1772964728, - "narHash": "sha256-Up4dWUxHpjPZodSKtsy64RE+UDB9OW7LQI3xNpRd4vQ=", + "lastModified": 1773228541, + "narHash": "sha256-/HxIvekjC2d4rV1i1c427OaQ/2Ob592T05iHGCG1Smk=", "ref": "refs/heads/master", - "rev": "0c907d92a476b9ffadcfd9bc5e3d8afa4ffd30c4", + "rev": "6a47cd654bba9bad905b041a81f485bb13affdb2", "shallow": true, "type": "git", "url": "https://github.com/rust-lang/crates.io-index" @@ -529,11 +529,11 @@ ] }, "locked": { - "lastModified": 1763364255, - "narHash": "sha256-uHP6YjKDWVaWqcmb/LOxEdZlkVWBvspXqx4+LC1zJsE=", + "lastModified": 1773225892, + "narHash": "sha256-EM//kHJ1Rlhsl6Q01gRxFozaGWlZvrnaI8Gdv0YfMgs=", "owner": "uttarayan21", "repo": "crates.nix", - "rev": "13d09f3b04e31d2ab3cfbe47540cb425eaf9b750", + "rev": "40b6736feba1aedf830b500b5d017d07ab5bd6f2", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 316e9955..21c80053 100644 --- a/flake.nix +++ b/flake.nix @@ -365,12 +365,20 @@ }; config.allowUnfree = true; }; + cratesNix = inputs.crates-nix.mkLib {inherit pkgs;}; in { devShells = { default = pkgs.mkShell { packages = with pkgs; [sops just openssl ast-grep]; }; }; + packages = { + default = cratesNix.buildCrate "ironclaw" { + nativeBuildInputs = [pkgs.pkg-config]; + buildInputs = [pkgs.openssl]; + doCheck = false; + }; + }; } ); } diff --git a/home/apps/zen.nix b/home/apps/zen.nix index a510aa45..1d216a73 100644 --- a/home/apps/zen.nix +++ b/home/apps/zen.nix @@ -119,6 +119,15 @@ ]; definedAliases = ["@lib"]; }; + searchix = { + name = "Searchix"; + urls = [ + { + template = "https://searchix.ovh/?query={searchTerms}"; + } + ]; + definedAliases = ["sx"]; + }; }; }; pins = { diff --git a/home/services/default.nix b/home/services/default.nix index 62cf945d..b9b16cc2 100644 --- a/home/services/default.nix +++ b/home/services/default.nix @@ -12,6 +12,7 @@ ./swaync.nix ./swayosd.nix ./xdg.nix + ./ironclaw.nix # ./anyrun.nix # ./eww.nix # ./wallpaperengine.nix diff --git a/home/services/ironclaw.nix b/home/services/ironclaw.nix new file mode 100644 index 00000000..acb755d2 --- /dev/null +++ b/home/services/ironclaw.nix @@ -0,0 +1,5 @@ +{pkgs, ...}: { + home.packages = [ + pkgs.ironclaw + ]; +} diff --git a/overlays.nix b/overlays.nix index ee20d72a..c77a4a6b 100644 --- a/overlays.nix +++ b/overlays.nix @@ -1,4 +1,5 @@ {inputs, ...} @ self: let + cratesNix = pkgs: inputs.crates-nix.mkLib {inherit pkgs;}; # --- Shell / CLI utilities --- shell-scripts = final: prev: { handlr-xdg = final.pkgs.writeShellApplication { @@ -86,6 +87,11 @@ hyprland = inputs.hyprland.packages.${prev.stdenv.hostPlatform.system}.hyprland; xdg-desktop-portal-hyprland = prev.enableDebugging inputs.hyprland.packages.${prev.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; xdph = inputs.nixpkgs-master.legacyPackages.${prev.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; + ironclaw = (cratesNix prev).buildCrate "ironclaw" { + nativeBuildInputs = [prev.pkg-config]; + buildInputs = [prev.openssl]; + doCheck = false; + }; }; # --- Themes and assets ---