update flakes

Former-commit-id: d7a03d4a80
This commit is contained in:
Hadi
2024-11-17 19:51:53 +01:00
parent 0875217932
commit e9f8555d37
4 changed files with 315 additions and 109 deletions

View File

@@ -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