Compare commits
2 commits
24b0710ba5
...
0178faaa6a
Author | SHA1 | Date | |
---|---|---|---|
0178faaa6a | |||
1ecae0ea86 |
9 changed files with 79 additions and 36 deletions
|
@ -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";
|
||||||
|
|
BIN
agenix/hosts/mediaserver/recyclarr/config.age
Normal file
BIN
agenix/hosts/mediaserver/recyclarr/config.age
Normal file
Binary file not shown.
32
flake.lock
32
flake.lock
|
@ -282,11 +282,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1696635169,
|
"lastModified": 1696737557,
|
||||||
"narHash": "sha256-gOjLe7maQ58erN/9ykb6d2ePAU7QAT1D8u7qin9gt+c=",
|
"narHash": "sha256-YD/pjDjj/BNmisEvRdM/vspkCU3xyyeGVAUWhvVSi5Y=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "b2a2133c9a0b0aa4d06d72b5891275f263ee08df",
|
"rev": "3c1d8758ac3f55ab96dcaf4d271c39da4b6e836d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -325,11 +325,11 @@
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "contrib",
|
"dir": "contrib",
|
||||||
"lastModified": 1696669828,
|
"lastModified": 1696761399,
|
||||||
"narHash": "sha256-HCdE78O9b0z8O33ebZt0PFIblnXlIU+H8yM9jWuz6/4=",
|
"narHash": "sha256-9nR5ydhnN3IvRx/UfZZ09QV7SL4uNfhBRx4UGuNKCDw=",
|
||||||
"owner": "neovim",
|
"owner": "neovim",
|
||||||
"repo": "neovim",
|
"repo": "neovim",
|
||||||
"rev": "1f864139b2d7e3fcb73fb0b7f5291fbb1c6cad94",
|
"rev": "30d311ebcf9433f84bd4d98f9e049b36c9d352ac",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -350,11 +350,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1696676058,
|
"lastModified": 1696761760,
|
||||||
"narHash": "sha256-zrIdajktdzdOKpr94uymjBMtL/p1PX/X6zdISW6BTGs=",
|
"narHash": "sha256-OdF9XVxnJU9NwaBHQ0NOIR07koAWQKpBDTyL58c3fNA=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "834f2e67f61195c5c15f7422b1451611f95a82f6",
|
"rev": "92f1abecccbfa249258ee8b5ce8f632c28f967ee",
|
||||||
"revCount": 519,
|
"revCount": 520,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.kempkens.io/daniel/nix-overlay"
|
"url": "https://git.kempkens.io/daniel/nix-overlay"
|
||||||
},
|
},
|
||||||
|
@ -401,11 +401,11 @@
|
||||||
},
|
},
|
||||||
"nixos-unstable": {
|
"nixos-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1696653406,
|
"lastModified": 1696729975,
|
||||||
"narHash": "sha256-0K9FEM+vwIctSy0FlmLube6C0PW4CBeRVm2dd85mozI=",
|
"narHash": "sha256-Bgm3GFrNftDwDbnNYvKzeX1jW5euOLif5ZsvYsYYq30=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "b7a3aaae3859cd1ffd4c4fd850bf45d0304f9033",
|
"rev": "0cbdedb436366db9863df099a934306028ed21ca",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -417,11 +417,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1696577711,
|
"lastModified": 1696693680,
|
||||||
"narHash": "sha256-94VRjvClIKDym1QRqPkX5LTQoAwZ1E6QE/3dWtOXSIQ=",
|
"narHash": "sha256-PH0HQTkqyj7DmdPKPwrrXwVURLBqzZs4nqnDw9q8mhg=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "a2eb207f45e4a14a1e3019d9e3863d1e208e2295",
|
"rev": "945559664c1dc5836173ee12896ba421d9b37181",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -30,12 +30,12 @@ in
|
||||||
};
|
};
|
||||||
nvim-web-devicons = buildVimPlugin {
|
nvim-web-devicons = buildVimPlugin {
|
||||||
pname = "nvim-web-devicons";
|
pname = "nvim-web-devicons";
|
||||||
version = "2023-09-25";
|
version = "2023-10-08";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kyazdani42";
|
owner = "kyazdani42";
|
||||||
repo = "nvim-web-devicons";
|
repo = "nvim-web-devicons";
|
||||||
rev = "45d0237c427baba8cd05e0ab26d30e2ee58c2c82";
|
rev = "56b3a6ce6d69329cbf603dd38ac59fb4d7774b01";
|
||||||
sha256 = "0cbp2xv6gnjd1plc8psj0qgwxfrfqw7qg8jn1cgr1la563jjlnlk";
|
sha256 = "1gqfzbdkiv91wvb14ydspjh1z4w59lp8rdsyw3w1gskfjalwz6cq";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -118,12 +118,12 @@ in
|
||||||
};
|
};
|
||||||
nvim-treesitter = buildVimPlugin {
|
nvim-treesitter = buildVimPlugin {
|
||||||
pname = "nvim-treesitter";
|
pname = "nvim-treesitter";
|
||||||
version = "2023-10-07";
|
version = "2023-10-08";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nvim-treesitter";
|
owner = "nvim-treesitter";
|
||||||
repo = "nvim-treesitter";
|
repo = "nvim-treesitter";
|
||||||
rev = "957f3f8c15a88ef0f0c77ecd13edf2e2578f176e";
|
rev = "a102053352bd958d84a3e1be3de0203d2af92984";
|
||||||
sha256 = "0gwx5vnhz4nypisv22if48x8wdamyfjwa8hpzrip230pjihxmjj7";
|
sha256 = "176k4hahgcjly971abrpf4q0279ll6my7qlxs0bdjf2g9095aijj";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -162,12 +162,12 @@ in
|
||||||
};
|
};
|
||||||
telescope-nvim = buildVimPlugin {
|
telescope-nvim = buildVimPlugin {
|
||||||
pname = "telescope.nvim";
|
pname = "telescope.nvim";
|
||||||
version = "2023-10-06";
|
version = "2023-10-07";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nvim-telescope";
|
owner = "nvim-telescope";
|
||||||
repo = "telescope.nvim";
|
repo = "telescope.nvim";
|
||||||
rev = "205f469244916716c49cc2b9026566749425c5ba";
|
rev = "5a747a9587e4bfc4ae086a38cc679fe54f983b69";
|
||||||
sha256 = "0v4wivyf50nwgwajq5wf6z5kip5j3zcn9d5rhil5ryxwq5y48g57";
|
sha256 = "1ck669g48qc058qmpwk8srn6il2nvrlsg656a7g7jn0wvqhjrbxz";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -307,12 +307,12 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
coq_nvim = pkgs.vimPlugins.coq_nvim.overrideAttrs (_: {
|
coq_nvim = pkgs.vimPlugins.coq_nvim.overrideAttrs (_: {
|
||||||
version = "2023-10-04";
|
version = "2023-10-07";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ms-jpq";
|
owner = "ms-jpq";
|
||||||
repo = "coq_nvim";
|
repo = "coq_nvim";
|
||||||
rev = "8bfc8742f32e30adfc92111ff3ebe53b95e3b271";
|
rev = "d4a58fa7ab20c928f88e416b3fcf6ada965bf314";
|
||||||
sha256 = "1sp2qi610j1584s0wl5xfg8kghnr1wcf553xsjxgp9ylxyzsbawp";
|
sha256 = "0jk3gz1rbq1zwzly66gcxhkxqn2im45lr5q5vjg2idpvbn6y8zpf";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
@ -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 = "76c7a89b41de77a4f83fb77fa072c5ad7605fe3b";
|
||||||
sha256 = "0ndd08a1s8cifw0w9gg26r8nvzfrky746ip70zg9x4qzg99915vb";
|
sha256 = "0438xz3k77xfmnvi210sxn4wda89nnw63a45ab2c5hvnhny9m0vm";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
32
system/nixos/recyclarr.nix
Normal file
32
system/nixos/recyclarr.nix
Normal 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"
|
||||||
|
];
|
||||||
|
}
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue