flakes/flake.nix

46 lines
1,006 B
Nix
Raw 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;
};
};
2025-01-20 07:57:49 +01:00
templates = {
elixir-devshell = {
description = " A basic developer shell for elixir";
path = ./templates/devshells/elixir;
};
};
2025-01-07 04:24:35 +01:00
apps = {
jellyfin-tui = {
type = "app";
program = "${self.packages.${system}.jellyfin-tui}/bin/jellyfin-tui";
};
};
}
);
}