1
0
forked from extern/nix-config

packages: Use hyprland-autoname-workspaces from fork

This commit is contained in:
Donovan Glover 2023-06-08 18:18:11 -04:00
parent 3ad31d2df3
commit 0bb8eca867
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
4 changed files with 20 additions and 26 deletions

View File

@ -327,6 +327,22 @@
"type": "github"
}
},
"nixpkgs-hyprland-autoname-workspaces": {
"locked": {
"lastModified": 1686168668,
"narHash": "sha256-WjlmXyRh8PmW2zfMAitVfso06eQOAnQv8sjOZgnBXvY=",
"owner": "donovanglover",
"repo": "nixpkgs",
"rev": "c5480a8239d0a025f9198f100dd88cae5da51a9e",
"type": "github"
},
"original": {
"owner": "donovanglover",
"ref": "hyprland-autoname-workspaces",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-lib": {
"locked": {
"dir": "lib",
@ -387,6 +403,7 @@
"hyprland": "hyprland",
"nix-gaming": "nix-gaming",
"nixpkgs": "nixpkgs",
"nixpkgs-hyprland-autoname-workspaces": "nixpkgs-hyprland-autoname-workspaces",
"nixpkgs-master": "nixpkgs-master",
"stylix": "stylix"
}

View File

@ -29,6 +29,7 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
nixpkgs-hyprland-autoname-workspaces.url = "github:donovanglover/nixpkgs/hyprland-autoname-workspaces";
home-manager = {
url = "github:nix-community/home-manager/master";

View File

@ -1,25 +0,0 @@
{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "hyprland-autoname-workspaces";
version = "1.0.0";
src = fetchFromGitHub {
owner = "hyprland-community";
repo = pname;
rev = version;
sha256 = "sha256-+oJWPSN6VmUUpd5ZLrN5Sa9Yg6pqVlaQFSRnEkLpLt8=";
};
cargoSha256 = "sha256-wXQVcTQ6up34ZqJP5hDttFEqtz+hmyd1aWFnPlFvazA=";
meta = with lib; {
description = "Automatically rename the workspaces with icons of started applications";
homepage = "https://github.com/hyprland-community/hyprland-autoname-workspaces";
license = licenses.isc;
maintainers = with maintainers; [donovanglover];
};
}

View File

@ -4,6 +4,7 @@
hypr-contrib,
nix-gaming,
crystal-flake,
nixpkgs-hyprland-autoname-workspaces,
...
}: let
VARIABLES = import ./variables.nix;
@ -181,7 +182,7 @@ in {
swww
kickoff
greetd.tuigreet
(pkgs.callPackage ../packages/hyprland-autoname-workspaces {})
nixpkgs-hyprland-autoname-workspaces.legacyPackages.${VARIABLES.system}.hyprland-autoname-workspaces
];
nixpkgs.config.allowUnfreePredicate = pkg: