From 6ff53baef0bc0a3d32ec4dd6a045e3e310cad3bb Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Sun, 18 Feb 2024 03:28:41 +0530 Subject: [PATCH] [feat] Add hyprwin plugin --- config/nix/common/home.nix | 4 ++ config/nix/flake.lock | 109 ++++++++++++++++++++++++++++++++++--- config/nix/flake.nix | 6 +- 3 files changed, 111 insertions(+), 8 deletions(-) diff --git a/config/nix/common/home.nix b/config/nix/common/home.nix index 14002456..07b83d75 100644 --- a/config/nix/common/home.nix +++ b/config/nix/common/home.nix @@ -20,6 +20,9 @@ in ]; home.packages = with pkgs; [ + htop-vim + lsof + wl-clipboard qmk nodejs nix-index @@ -174,6 +177,7 @@ in enable = true; config = { plugins = with inputs.anyrun.packages.${pkgs.system}; [ + inputs.anyrun-hyprwin.packages.${pkgs.system}.hyprwin rink applications websearch diff --git a/config/nix/flake.lock b/config/nix/flake.lock index 308c4569..67831d08 100644 --- a/config/nix/flake.lock +++ b/config/nix/flake.lock @@ -21,6 +21,32 @@ "type": "github" } }, + "anyrun-hyprwin": { + "inputs": { + "flake-utils": [ + "anyrun-hyprwin", + "rust-overlay", + "flake-utils" + ], + "nixpkgs": [ + "nixpkgs" + ], + "rust-overlay": "rust-overlay" + }, + "locked": { + "lastModified": 1708206936, + "narHash": "sha256-NIC4u8ncMBVkN+CkfIQkc8bttDT5ZCUy5JnNZaMBaFc=", + "owner": "uttarayan21", + "repo": "anyrun-hyprwin", + "rev": "6e080000304d1cc24fdb80ea18dc08ffb96768a2", + "type": "github" + }, + "original": { + "owner": "uttarayan21", + "repo": "anyrun-hyprwin", + "type": "github" + } + }, "flake-compat": { "flake": false, "locked": { @@ -113,14 +139,32 @@ "type": "github" }, "original": { - "id": "flake-utils", - "type": "indirect" + "owner": "numtide", + "repo": "flake-utils", + "type": "github" } }, "flake-utils_2": { "inputs": { "systems": "systems_2" }, + "locked": { + "lastModified": 1705309234, + "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", + "type": "github" + }, + "original": { + "id": "flake-utils", + "type": "indirect" + } + }, + "flake-utils_3": { + "inputs": { + "systems": "systems_3" + }, "locked": { "lastModified": 1701680307, "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=", @@ -179,7 +223,7 @@ }, "neovim-flake": { "inputs": { - "flake-utils": "flake-utils_2", + "flake-utils": "flake-utils_3", "nixpkgs": [ "neovim-nightly-overlay", "nixpkgs" @@ -207,7 +251,7 @@ "flake-parts": "flake-parts_2", "hercules-ci-effects": "hercules-ci-effects", "neovim-flake": "neovim-flake", - "nixpkgs": "nixpkgs" + "nixpkgs": "nixpkgs_2" }, "locked": { "lastModified": 1708128234, @@ -244,6 +288,22 @@ } }, "nixpkgs": { + "locked": { + "lastModified": 1706487304, + "narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "90f456026d284c22b3e3497be980b2e47d0b28ac", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { "locked": { "lastModified": 1708093448, "narHash": "sha256-gohEm3/NVyu7WINFhRf83yJH8UM2ie/KY9Iw3VN6fiE=", @@ -259,7 +319,7 @@ "type": "github" } }, - "nixpkgs_2": { + "nixpkgs_3": { "locked": { "lastModified": 1708118438, "narHash": "sha256-kk9/0nuVgA220FcqH/D2xaN6uGyHp/zoxPNUmPCMmEE=", @@ -278,11 +338,31 @@ "root": { "inputs": { "anyrun": "anyrun", - "flake-utils": "flake-utils", + "anyrun-hyprwin": "anyrun-hyprwin", + "flake-utils": "flake-utils_2", "home-manager": "home-manager", "neovim-nightly-overlay": "neovim-nightly-overlay", "nix-darwin": "nix-darwin", - "nixpkgs": "nixpkgs_2" + "nixpkgs": "nixpkgs_3" + } + }, + "rust-overlay": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1708135817, + "narHash": "sha256-EUMO/K3+Wgh0THOLoRXhxrh6G/pQ7BlJ8No+ciy1nKA=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "c77e68d33a84ce3f9e86905c0f2ef78d5defad28", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" } }, "systems": { @@ -314,6 +394,21 @@ "repo": "default", "type": "github" } + }, + "systems_3": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } } }, "root": "root", diff --git a/config/nix/flake.nix b/config/nix/flake.nix index 84410e65..d3f1dfd2 100644 --- a/config/nix/flake.nix +++ b/config/nix/flake.nix @@ -18,6 +18,10 @@ url = "github:Kirottu/anyrun"; inputs.nixpkgs.follows = "nixpkgs"; }; + anyrun-hyprwin = { + url = "github:uttarayan21/anyrun-hyprwin"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = { @@ -79,11 +83,11 @@ anyrun-overlay = final: prev: { anyrun = inputs.anyrun.packages.${prev.system}.anyrun; + hyprwin = inputs.anyrun-hyprwin.packages.${prev.system}.hyprwin; }; overlays = [ inputs.neovim-nightly-overlay.overlay anyrun-overlay - # inputs.anyrun.overlays ]; in { nixosConfigurations =