feat: added ironclaw
This commit is contained in:
12
flake.lock
generated
12
flake.lock
generated
@@ -491,10 +491,10 @@
|
|||||||
"crates-io-index": {
|
"crates-io-index": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772964728,
|
"lastModified": 1773228541,
|
||||||
"narHash": "sha256-Up4dWUxHpjPZodSKtsy64RE+UDB9OW7LQI3xNpRd4vQ=",
|
"narHash": "sha256-/HxIvekjC2d4rV1i1c427OaQ/2Ob592T05iHGCG1Smk=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "0c907d92a476b9ffadcfd9bc5e3d8afa4ffd30c4",
|
"rev": "6a47cd654bba9bad905b041a81f485bb13affdb2",
|
||||||
"shallow": true,
|
"shallow": true,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/rust-lang/crates.io-index"
|
"url": "https://github.com/rust-lang/crates.io-index"
|
||||||
@@ -529,11 +529,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1763364255,
|
"lastModified": 1773225892,
|
||||||
"narHash": "sha256-uHP6YjKDWVaWqcmb/LOxEdZlkVWBvspXqx4+LC1zJsE=",
|
"narHash": "sha256-EM//kHJ1Rlhsl6Q01gRxFozaGWlZvrnaI8Gdv0YfMgs=",
|
||||||
"owner": "uttarayan21",
|
"owner": "uttarayan21",
|
||||||
"repo": "crates.nix",
|
"repo": "crates.nix",
|
||||||
"rev": "13d09f3b04e31d2ab3cfbe47540cb425eaf9b750",
|
"rev": "40b6736feba1aedf830b500b5d017d07ab5bd6f2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -365,12 +365,20 @@
|
|||||||
};
|
};
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
|
cratesNix = inputs.crates-nix.mkLib {inherit pkgs;};
|
||||||
in {
|
in {
|
||||||
devShells = {
|
devShells = {
|
||||||
default = pkgs.mkShell {
|
default = pkgs.mkShell {
|
||||||
packages = with pkgs; [sops just openssl ast-grep];
|
packages = with pkgs; [sops just openssl ast-grep];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
packages = {
|
||||||
|
default = cratesNix.buildCrate "ironclaw" {
|
||||||
|
nativeBuildInputs = [pkgs.pkg-config];
|
||||||
|
buildInputs = [pkgs.openssl];
|
||||||
|
doCheck = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -119,6 +119,15 @@
|
|||||||
];
|
];
|
||||||
definedAliases = ["@lib"];
|
definedAliases = ["@lib"];
|
||||||
};
|
};
|
||||||
|
searchix = {
|
||||||
|
name = "Searchix";
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://searchix.ovh/?query={searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
definedAliases = ["sx"];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
pins = {
|
pins = {
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
./swaync.nix
|
./swaync.nix
|
||||||
./swayosd.nix
|
./swayosd.nix
|
||||||
./xdg.nix
|
./xdg.nix
|
||||||
|
./ironclaw.nix
|
||||||
# ./anyrun.nix
|
# ./anyrun.nix
|
||||||
# ./eww.nix
|
# ./eww.nix
|
||||||
# ./wallpaperengine.nix
|
# ./wallpaperengine.nix
|
||||||
|
|||||||
5
home/services/ironclaw.nix
Normal file
5
home/services/ironclaw.nix
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{pkgs, ...}: {
|
||||||
|
home.packages = [
|
||||||
|
pkgs.ironclaw
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
{inputs, ...} @ self: let
|
{inputs, ...} @ self: let
|
||||||
|
cratesNix = pkgs: inputs.crates-nix.mkLib {inherit pkgs;};
|
||||||
# --- Shell / CLI utilities ---
|
# --- Shell / CLI utilities ---
|
||||||
shell-scripts = final: prev: {
|
shell-scripts = final: prev: {
|
||||||
handlr-xdg = final.pkgs.writeShellApplication {
|
handlr-xdg = final.pkgs.writeShellApplication {
|
||||||
@@ -86,6 +87,11 @@
|
|||||||
hyprland = inputs.hyprland.packages.${prev.stdenv.hostPlatform.system}.hyprland;
|
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;
|
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;
|
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 ---
|
# --- Themes and assets ---
|
||||||
|
|||||||
Reference in New Issue
Block a user