Clean up cross-seed
This commit is contained in:
parent
91d56f4b34
commit
5f20f25c47
2 changed files with 3 additions and 24 deletions
|
@ -1,26 +1,5 @@
|
|||
{ inputs, pkgs, lib, ... }:
|
||||
{ inputs, pkgs, ... }:
|
||||
let
|
||||
cross-seed = pkgs.buildNpmPackage rec {
|
||||
pname = "cross-seed";
|
||||
version = "6.0.0-43";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "cross-seed";
|
||||
repo = "cross-seed";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-oglNCTZ9o4saqnQ0imsjNeobsTFn9ZT6yVjOzBO+BTo=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-Ta5QKHn3tX4ZGZEiMg8RYlJykM7TuQWVML/v9ujWYVU=";
|
||||
|
||||
meta = {
|
||||
description = "Fully-automatic torrent cross-seeding with Torznab";
|
||||
homepage = "https://cross-seed.org";
|
||||
license = lib.licenses.asl20;
|
||||
mainProgram = "cross-seed";
|
||||
maintainers = with lib.maintainers; [ mkez ];
|
||||
};
|
||||
}; # TODO: delete this when merged https://github.com/NixOS/nixpkgs/pull/329243
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
|
@ -29,7 +8,7 @@ in
|
|||
|
||||
services.cross-seed = {
|
||||
enable = true;
|
||||
package = cross-seed;
|
||||
package = pkgs.cross-seed;
|
||||
|
||||
environmentFile = "/etc/secrets/cross-seed.env";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue