@@ -66,7 +66,7 @@ like shown in this example flake:
|
|||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
nixarr.url = "github:rasmus-kirk/nixarr";
|
nixarr.url = "github:nix-media-server/nixarr";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
|||||||
@@ -31,10 +31,11 @@ option, which by default is set to `/data/media`.
|
|||||||
|
|
||||||
## Transmission
|
## Transmission
|
||||||
|
|
||||||
Transmission should already be setup and running since it's configured
|
Transmission should already be setup and running since it's configured with
|
||||||
with JSON, and can therefore be configured with nix. The most basic settings are already set. See the following links for more info:
|
JSON, and can therefore be configured with nix. The most basic settings are
|
||||||
|
already set. See the following links for more info:
|
||||||
|
|
||||||
- [The configured Nixarr defaults for transmission](https://github.com/rasmus-kirk/nixarr/blob/28d1be070deb1a064c1967889c11c8921752fa09/nixarr/transmission/default.nix#L355)
|
- [The configured Nixarr defaults for transmission](https://github.com/nix-media-server/nixarr/blob/28d1be070deb1a064c1967889c11c8921752fa09/nixarr/transmission/default.nix#L355)
|
||||||
- [The `nixarr.transmission` options](https://nixarr.com/nixos-options/#nixarr.transmission.enable)
|
- [The `nixarr.transmission` options](https://nixarr.com/nixos-options/#nixarr.transmission.enable)
|
||||||
- [Settings that can be passed through `nixarr.transmission.settings`]
|
- [Settings that can be passed through `nixarr.transmission.settings`]
|
||||||
|
|
||||||
|
|||||||
@@ -29,9 +29,6 @@ Then you can set that port for a service, for example
|
|||||||
|
|
||||||
## Debugging Ports
|
## Debugging Ports
|
||||||
|
|
||||||
> **Note:** See [this GH issue](https://github.com/rasmus-kirk/nixarr/issues/27)
|
|
||||||
> first, since it's a common problem
|
|
||||||
|
|
||||||
You can debug an open port using the
|
You can debug an open port using the
|
||||||
[nixarr.vpn.vpnTestService](https://nixarr.com/options.html#nixarr.vpn.vpntestservice.enable):
|
[nixarr.vpn.vpnTestService](https://nixarr.com/options.html#nixarr.vpn.vpntestservice.enable):
|
||||||
|
|
||||||
|
|||||||
@@ -101,7 +101,7 @@
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
title = "Github";
|
title = "Github";
|
||||||
location = "https://github.com/rasmus-kirk/nixarr";
|
location = "https://github.com/nix-media-server/nixarr";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
favicons = {
|
favicons = {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ with lib; let
|
|||||||
nixarr = config.nixarr;
|
nixarr = config.nixarr;
|
||||||
# This is a carbon copy of the yaml implementation in nixpkgs https://github.com/NixOS/nixpkgs/blob/fde6c4aec177afa2d0248b1c5983e2a72a231442/pkgs/pkgs-lib/formats.nix#L210-L231
|
# This is a carbon copy of the yaml implementation in nixpkgs https://github.com/NixOS/nixpkgs/blob/fde6c4aec177afa2d0248b1c5983e2a72a231442/pkgs/pkgs-lib/formats.nix#L210-L231
|
||||||
# except we've replaced json2yaml for yq-go to allow it to parse custom yaml tags
|
# except we've replaced json2yaml for yq-go to allow it to parse custom yaml tags
|
||||||
# ideally this would some day be upstreamed, see https://github.com/NixOS/nix/issues/4910 and https://github.com/rasmus-kirk/nixarr/issues/91
|
# ideally this would some day be upstreamed, see https://github.com/NixOS/nix/issues/4910 and https://github.com/nix-media-server/nixarr/issues/91
|
||||||
yamlGenerator = {preserved-tags ? []}: let
|
yamlGenerator = {preserved-tags ? []}: let
|
||||||
selectors =
|
selectors =
|
||||||
pkgs.lib.strings.concatStringsSep "|"
|
pkgs.lib.strings.concatStringsSep "|"
|
||||||
|
|||||||
Reference in New Issue
Block a user