hyprland-qtutils/flake.nix

55 lines
1.3 KiB
Nix
Raw Normal View History

2024-10-27 17:01:02 +02:00
{
description = "Hyprland QT/qml utility apps";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
systems.url = "github:nix-systems/default-linux";
2025-01-26 19:03:23 -05:00
hyprlang = {
url = "github:hyprwm/hyprlang";
2024-10-27 17:01:02 +02:00
inputs.nixpkgs.follows = "nixpkgs";
inputs.systems.follows = "systems";
};
2025-01-08 15:17:52 -08:00
2025-01-26 19:03:23 -05:00
hyprutils.follows = "hyprlang/hyprutils";
2025-01-08 15:17:52 -08:00
hyprland-qt-support = {
url = "github:hyprwm/hyprland-qt-support";
2025-01-26 19:03:23 -05:00
inputs.hyprlang.follows = "hyprlang";
2025-01-08 15:17:52 -08:00
inputs.nixpkgs.follows = "nixpkgs";
inputs.systems.follows = "systems";
};
2024-10-27 17:01:02 +02:00
};
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;
});
2025-01-08 15:17:52 -08:00
devShells = eachSystem (system: {
default = import ./nix/shell.nix {
pkgs = pkgsFor.${system};
inherit (pkgsFor.${system}) hyprland-qtutils;
};
});
2024-10-27 17:01:02 +02:00
};
}