History

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

Dennis committed 4 months ago

Commit 61bbb4b1 parent 3c5b5594 files · +166 −0Browse files

Showing the changes to flake.nix (1 of 4 files). Show all

Unified · Split

flake.nix+34−0
@@ -0,0 +1,34 @@
1+{
2+ description = "Torlink is a torrent finder that lives in your terminal, with zero setup and nothing to configure.";
3+
4+ inputs = {
5+ nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
6+ };
7+
8+ outputs =
9+ { self, nixpkgs }:
10+
11+ let
12+ systems = [
13+ "x86_64-linux"
14+ ];
15+ forAllSystems = nixpkgs.lib.genAttrs systems;
16+
17+ in
18+ {
19+ packages = forAllSystems (
20+ system:
21+ let
22+ pkgs = nixpkgs.legacyPackages.${system};
23+ in
24+ {
25+ default = pkgs.callPackage ./nix/package.nix { };
26+ }
27+ );
28+ overlays.default = final: prev: {
29+ torlink = final.callPackage ./nix/package.nix { };
30+ };
31+
32+ };
33+
34+}