diff --git a/flake.lock b/flake.lock index 029f8b9..e0e6ba5 100644 --- a/flake.lock +++ b/flake.lock @@ -338,6 +338,32 @@ "type": "github" } }, + "hyprgrass": { + "inputs": { + "hyprland": [ + "hyprland", + "hyprland" + ], + "nixpkgs": [ + "hyprgrass", + "hyprland", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1786646554, + "narHash": "sha256-WNayKYvQl3MGPx61UX7y5n9zxvC+MgwRDwql7uwHriQ=", + "owner": "horriblename", + "repo": "hyprgrass", + "rev": "56473e9e0b2da34bb3b871e90f40b3fc3d41ba9b", + "type": "github" + }, + "original": { + "owner": "horriblename", + "repo": "hyprgrass", + "type": "github" + } + }, "hyprland": { "inputs": { "hyprland": "hyprland_2", @@ -1031,6 +1057,7 @@ "davinci": "davinci", "flake-parts": "flake-parts", "gotify-desktop": "gotify-desktop", + "hyprgrass": "hyprgrass", "hyprland": "hyprland", "import-tree": "import-tree", "nixpkgs": "nixpkgs_6", diff --git a/flake.nix b/flake.nix index 2dfd301..2c674fe 100644 --- a/flake.nix +++ b/flake.nix @@ -7,8 +7,10 @@ # Apps nvim.url = "git+https://git.voidarc.co.uk/voidarc/nvim"; - hyprland = { - url = "git+https://git.voidarc.co.uk/voidarc/hypr"; + hyprland.url = "git+https://git.voidarc.co.uk/voidarc/hypr"; + hyprgrass = { + url = "github:horriblename/hyprgrass"; + inputs.hyprland.follows = "hyprland/hyprland"; }; otter-launcher = { url = "github:kuokuo123/otter-launcher"; diff --git a/modules/features/hyprland/default.nix b/modules/features/hyprland/default.nix index 0a3a69c..247b54d 100644 --- a/modules/features/hyprland/default.nix +++ b/modules/features/hyprland/default.nix @@ -44,9 +44,8 @@ package = self'.packages.hyprland; } // lib.optionalAttrs config.hyprland.enablePlugins { - plugins = with pkgs.hyprlandPlugins; [ - hyprspace - hyprgrass + plugins = with inputs'; [ + hyprgrass.packages.default ]; };