36 lines
830 B
Nix
36 lines
830 B
Nix
{
|
|
description = "A polished GTK4/libadwaita GUI configurator for the niri Wayland compositor";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
};
|
|
|
|
outputs =
|
|
{ self, nixpkgs }:
|
|
let
|
|
supportedSystems = [
|
|
"x86_64-linux"
|
|
"aarch64-linux"
|
|
];
|
|
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
|
|
in
|
|
{
|
|
packages = forAllSystems (system: let
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in {
|
|
default = pkgs.callPackage ./package.nix { };
|
|
});
|
|
|
|
overlays.default = final: prev: {
|
|
nirimod = final.callPackage ./package.nix { };
|
|
};
|
|
|
|
apps = forAllSystems (system: {
|
|
default = {
|
|
type = "app";
|
|
program = "${self.packages.${system}.default}/bin/nirimod";
|
|
};
|
|
});
|
|
};
|
|
}
|