mcmojave-hyprcursor/flake.nix

38 lines
834 B
Nix
Raw Permalink Normal View History

2024-07-27 23:07:24 +00:00
{
description = "The McMojave cursor theme ported to hyprcusor";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2024-07-27 23:36:34 +00:00
systems.url = "github:nix-systems/default-linux";
2024-07-27 23:07:24 +00:00
2024-07-27 23:36:34 +00:00
hyprcursor = {
url = "github:hyprwm/hyprcursor";
2024-07-27 23:07:24 +00:00
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{
2024-07-27 23:36:34 +00:00
self,
2024-07-27 23:07:24 +00:00
nixpkgs,
2024-07-27 23:36:34 +00:00
hyprcursor,
systems,
...
}@inputs:
let
pkgs = nixpkgs;
eachSystem = pkgs.lib.genAttrs (import systems);
in
{
packages = eachSystem (system: {
default = self.packages.${system}.mcmojave-hyprcursor;
2024-07-27 23:07:24 +00:00
2024-07-27 23:36:34 +00:00
mcmojave-hyprcursor = inputs.nixpkgs.legacyPackages.${system}.callPackage ./nix {
inherit hyprcursor;
2024-07-27 23:07:24 +00:00
};
2024-07-27 23:36:34 +00:00
});
2024-07-27 23:07:24 +00:00
2024-07-27 23:36:34 +00:00
formatter = eachSystem (system: nixpkgs.${system}.nixpkgs-format);
};
2024-07-27 23:07:24 +00:00
}