{
description = "Improved scratchpad functionality for Hyprland";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = {
self,
nixpkgs,
}: let
supportedSystems = ["x86_64-linux"];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
pkgsFor = nixpkgs.legacyPackages;
in {
packages = forAllSystems (system: {
default = self.packages.${system}.hyprscratch;
hyprscratch = pkgsFor.${system}.callPackage ./nix {};
});
homeModules = {
default = self.homeModules.hyprscratch;
hyprscratch = import ./nix/hm.nix self;
};
};
}