flakes/flake.nix

40 lines
816 B
Nix
Raw Permalink Normal View History

2025-01-07 04:24:35 +01:00
{
description = "Projects packaged by 4o1x5";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
crane.url = "github:ipetkov/crane";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{
self,
nixpkgs,
crane,
flake-utils,
...
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
craneLib = crane.mkLib pkgs;
in
{
packages = {
jellyfin-tui = import ./packages/jellyfin-tui.nix {
inherit pkgs craneLib;
};
};
apps = {
jellyfin-tui = {
type = "app";
program = "${self.packages.${system}.jellyfin-tui}/bin/jellyfin-tui";
};
};
}
);
}