feat: added ironclaw

This commit is contained in:
2026-03-12 13:40:10 +05:30
parent 62072e71ea
commit e89003a063
6 changed files with 35 additions and 6 deletions

12
flake.lock generated
View File

@@ -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": {

View File

@@ -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;
};
};
}
);
}

View File

@@ -119,6 +119,15 @@
];
definedAliases = ["@lib"];
};
searchix = {
name = "Searchix";
urls = [
{
template = "https://searchix.ovh/?query={searchTerms}";
}
];
definedAliases = ["sx"];
};
};
};
pins = {

View File

@@ -12,6 +12,7 @@
./swaync.nix
./swayosd.nix
./xdg.nix
./ironclaw.nix
# ./anyrun.nix
# ./eww.nix
# ./wallpaperengine.nix

View File

@@ -0,0 +1,5 @@
{pkgs, ...}: {
home.packages = [
pkgs.ironclaw
];
}

View File

@@ -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 ---