Files
DennisandGitHub 61bbb4b219 chore: add nix flake for Linux
* nix: init 1.0.0-unstable rev 6902733

* nix: add install instructions

* nix: update 1.0.0 -> 1.1.1
2026-06-30 16:23:25 -04:00

35 lines
688 B
Nix

{
description = "Torlink is a torrent finder that lives in your terminal, with zero setup and nothing to configure.";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs =
{ self, nixpkgs }:
let
systems = [
"x86_64-linux"
];
forAllSystems = nixpkgs.lib.genAttrs systems;
in
{
packages = forAllSystems (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
default = pkgs.callPackage ./nix/package.nix { };
}
);
overlays.default = final: prev: {
torlink = final.callPackage ./nix/package.nix { };
};
};
}