mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-03 19:42:10 +02:00
35
flake.nix
35
flake.nix
@@ -41,7 +41,7 @@
|
||||
url = "github:Fuwn/pia.nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
nur.url = "github:nix-community/NUR";
|
||||
};
|
||||
|
||||
outputs = inputs@{ nixpkgs, ... }: {
|
||||
@@ -51,37 +51,8 @@
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
inputs.hyprpanel.overlay
|
||||
# FIXME: Temp fix
|
||||
(final: prev: {
|
||||
matugen = final.rustPlatform.buildRustPackage rec {
|
||||
pname = "matugen";
|
||||
version = "2.4.0";
|
||||
|
||||
src = final.fetchFromGitHub {
|
||||
owner = "InioX";
|
||||
repo = "matugen";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash =
|
||||
"sha256-l623fIVhVCU/ylbBmohAtQNbK0YrWlEny0sC/vBJ+dU=";
|
||||
};
|
||||
|
||||
cargoHash =
|
||||
"sha256-FwQhhwlldDskDzmIOxhwRuUv8NxXCxd3ZmOwqcuWz64=";
|
||||
|
||||
meta = {
|
||||
description = "Material you color generation tool";
|
||||
homepage = "https://github.com/InioX/matugen";
|
||||
changelog =
|
||||
"https://github.com/InioX/matugen/blob/${src.rev}/CHANGELOG.md";
|
||||
license = final.lib.licenses.gpl2Only;
|
||||
maintainers = with final.lib.maintainers; [ lampros ];
|
||||
mainProgram = "matugen";
|
||||
};
|
||||
};
|
||||
})
|
||||
];
|
||||
nixpkgs.overlays =
|
||||
[ inputs.hyprpanel.overlay inputs.nur.overlay ];
|
||||
_module.args = { inherit inputs; };
|
||||
}
|
||||
inputs.nixos-hardware.nixosModules.omen-16-n0005ne # CHANGEME: check https://github.com/NixOS/nixos-hardware
|
||||
|
||||
Reference in New Issue
Block a user