1
0
Fork 0

mediaserver: add recyclarr

This commit is contained in:
Daniel Kempkens 2023-10-08 12:49:01 +02:00
parent 24b0710ba5
commit 1ecae0ea86
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
9 changed files with 54 additions and 11 deletions

View file

@ -36,6 +36,14 @@
group = "media_group"; group = "media_group";
}; };
recyclarr-config = {
file = ./recyclarr/config.age;
symlink = false;
path = "/var/lib/recyclarr/recyclarr.yml";
owner = "1000";
group = "1000";
};
unpackerr-config = { unpackerr-config = {
file = ./unpackerr/config.age; file = ./unpackerr/config.age;
owner = "media_user"; owner = "media_user";

Binary file not shown.

View file

@ -417,11 +417,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1696577711, "lastModified": 1696630667,
"narHash": "sha256-94VRjvClIKDym1QRqPkX5LTQoAwZ1E6QE/3dWtOXSIQ=", "narHash": "sha256-kO67pYOeT/6m9BnPO+zNHWnC4eGiW87gIAJ+e8f3gwU=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a2eb207f45e4a14a1e3019d9e3863d1e208e2295", "rev": "b604023e0a5549b65da3040a07d2beb29ac9fc63",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -126,7 +126,7 @@
"Noto Sans Symbols2" "Noto Sans Symbols2"
:Unifont]) :Unifont])
:font_size 13 :font_size 13
:line_height 0.9 :line_height 0.95
:freetype_load_target :Light :freetype_load_target :Light
;:freetype_render_target :HorizontalLcd ;:freetype_render_target :HorizontalLcd
:allow_square_glyphs_to_overflow_width :WhenFollowedBySpace :allow_square_glyphs_to_overflow_width :WhenFollowedBySpace

View file

@ -351,12 +351,12 @@ in
}; };
nvim-autopairs = buildVimPlugin { nvim-autopairs = buildVimPlugin {
pname = "nvim-autopairs"; pname = "nvim-autopairs";
version = "2023-09-23"; version = "2023-10-07";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "windwp"; owner = "windwp";
repo = "nvim-autopairs"; repo = "nvim-autopairs";
rev = "de4f7138a68d5d5063170f2182fd27faf06b0b54"; rev = "748e72c05495a3d30e88a6ef04b21697019a9aa9";
sha256 = "0ppip04x0z98aq7b0zpg1yyy2cgqr94jgf5dy2dr1wvgrjh9lxhd"; sha256 = "11hf5j4khafg1gddkd98xb94077vswlwxdm077gyrwa4pifc7cnw";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };
@ -384,12 +384,12 @@ in
}; };
nvim-treesitter-textobjects = buildVimPlugin { nvim-treesitter-textobjects = buildVimPlugin {
pname = "nvim-treesitter-textobjects"; pname = "nvim-treesitter-textobjects";
version = "2023-10-06"; version = "2023-10-07";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nvim-treesitter"; owner = "nvim-treesitter";
repo = "nvim-treesitter-textobjects"; repo = "nvim-treesitter-textobjects";
rev = "4724694bc03ce1148860a46d9d77c3664d8188ab"; rev = "a7a9ba714bcc31f5453a60d48598186b6487b75c";
sha256 = "0ndd08a1s8cifw0w9gg26r8nvzfrky746ip70zg9x4qzg99915vb"; sha256 = "0js809mbbv80i5jvii9qf0190f3r9lb5b6rxg8y7jvaap5kq76bs";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };

View file

@ -88,6 +88,8 @@ in
"agenix/hosts/mediaserver/aria2/config.age".publicKeys = mediaserver; "agenix/hosts/mediaserver/aria2/config.age".publicKeys = mediaserver;
"agenix/hosts/mediaserver/recyclarr/config.age".publicKeys = mediaserver;
"agenix/hosts/mediaserver/unpackerr/config.age".publicKeys = mediaserver; "agenix/hosts/mediaserver/unpackerr/config.age".publicKeys = mediaserver;
# argon # argon

View file

@ -37,6 +37,7 @@ in
../nixos/unpackerr.nix ../nixos/unpackerr.nix
../nixos/sonarr.nix ../nixos/sonarr.nix
../nixos/radarr.nix ../nixos/radarr.nix
../nixos/recyclarr.nix
../nixos/sabnzbd.nix ../nixos/sabnzbd.nix
../nixos/qbittorrent.nix ../nixos/qbittorrent.nix
../nixos/flaresolverr.nix ../nixos/flaresolverr.nix

View file

@ -0,0 +1,32 @@
{ lib, config, ... }:
let
data-dir = "/var/lib/recyclarr";
in
{
virtualisation.oci-containers.containers.recyclarr = {
image = "ghcr.io/recyclarr/recyclarr:latest";
environment = {
"TZ" = "Etc/UTC";
};
volumes = [
"${data-dir}:/config"
];
extraOptions = [
"--network=ns:/var/run/netns/wg"
"--label=com.centurylinklabs.watchtower.enable=true"
"--label=io.containers.autoupdate=registry"
];
};
systemd.services.podman-recyclarr = {
bindsTo = [ "wg.service" ];
after = lib.mkForce [ "wg.service" ];
restartTriggers = [ "${config.age.secrets.recyclarr-config.file}" ];
};
systemd.tmpfiles.rules = [
"d ${data-dir} 0755 1000 1000"
];
}

View file

@ -2,7 +2,7 @@
{ {
virtualisation.oci-containers.containers.sonarr = { virtualisation.oci-containers.containers.sonarr = {
image = "lscr.io/linuxserver/sonarr:latest"; image = "lscr.io/linuxserver/sonarr:develop";
ports = [ "192.168.42.2:8989:8989" ]; ports = [ "192.168.42.2:8989:8989" ];
environment = { environment = {
"PUID" = "1001"; "PUID" = "1001";