mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-20 01:38:02 +02:00
packages: Use hyprland-autoname-workspaces from fork
This commit is contained in:
parent
3ad31d2df3
commit
0bb8eca867
17
flake.lock
generated
17
flake.lock
generated
@ -327,6 +327,22 @@
|
|||||||
"type": "github"
|
"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": {
|
"nixpkgs-lib": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "lib",
|
"dir": "lib",
|
||||||
@ -387,6 +403,7 @@
|
|||||||
"hyprland": "hyprland",
|
"hyprland": "hyprland",
|
||||||
"nix-gaming": "nix-gaming",
|
"nix-gaming": "nix-gaming",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
|
"nixpkgs-hyprland-autoname-workspaces": "nixpkgs-hyprland-autoname-workspaces",
|
||||||
"nixpkgs-master": "nixpkgs-master",
|
"nixpkgs-master": "nixpkgs-master",
|
||||||
"stylix": "stylix"
|
"stylix": "stylix"
|
||||||
}
|
}
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
|
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
|
||||||
|
nixpkgs-hyprland-autoname-workspaces.url = "github:donovanglover/nixpkgs/hyprland-autoname-workspaces";
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager/master";
|
url = "github:nix-community/home-manager/master";
|
||||||
|
@ -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];
|
|
||||||
};
|
|
||||||
}
|
|
@ -4,6 +4,7 @@
|
|||||||
hypr-contrib,
|
hypr-contrib,
|
||||||
nix-gaming,
|
nix-gaming,
|
||||||
crystal-flake,
|
crystal-flake,
|
||||||
|
nixpkgs-hyprland-autoname-workspaces,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
VARIABLES = import ./variables.nix;
|
VARIABLES = import ./variables.nix;
|
||||||
@ -181,7 +182,7 @@ in {
|
|||||||
swww
|
swww
|
||||||
kickoff
|
kickoff
|
||||||
greetd.tuigreet
|
greetd.tuigreet
|
||||||
(pkgs.callPackage ../packages/hyprland-autoname-workspaces {})
|
nixpkgs-hyprland-autoname-workspaces.legacyPackages.${VARIABLES.system}.hyprland-autoname-workspaces
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user