mirror of
https://github.com/hyprwm/hyprland-qtutils.git
synced 2024-12-26 19:59:51 +01:00
39 lines
881 B
Nix
39 lines
881 B
Nix
|
{
|
||
|
description = "Hyprland QT/qml utility apps";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||
|
systems.url = "github:nix-systems/default-linux";
|
||
|
|
||
|
hyprutils = {
|
||
|
url = "github:hyprwm/hyprutils";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
inputs.systems.follows = "systems";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
outputs = {
|
||
|
self,
|
||
|
nixpkgs,
|
||
|
systems,
|
||
|
...
|
||
|
} @ inputs: let
|
||
|
inherit (nixpkgs) lib;
|
||
|
eachSystem = lib.genAttrs (import systems);
|
||
|
pkgsFor = eachSystem (
|
||
|
system:
|
||
|
import nixpkgs {
|
||
|
localSystem = system;
|
||
|
overlays = [self.overlays.default];
|
||
|
}
|
||
|
);
|
||
|
in {
|
||
|
overlays = import ./nix/overlays.nix {inherit inputs self lib;};
|
||
|
|
||
|
packages = eachSystem (system: {
|
||
|
default = self.packages.${system}.hyprland-qtutils;
|
||
|
inherit (pkgsFor.${system}) hyprland-qtutils;
|
||
|
});
|
||
|
};
|
||
|
}
|