fmt: alejandra

This commit is contained in:
♥ Minnie ♥ 2024-08-08 09:02:42 +08:00
parent 53378cdfc9
commit 3350d19a45
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
79 changed files with 432 additions and 511 deletions

View file

@ -1,6 +1,4 @@
{ ... }:
{
{...}: {
imports = [
./jellyfin.nix
./jellyseerr.nix

View file

@ -1,8 +1,6 @@
{ ... }:
let
{...}: let
port = "8096";
in
{
in {
virtualisation.oci-containers.containers = {
# Volunteer-built media solution that puts you in control of your media
jellyfin = {
@ -35,7 +33,7 @@ in
services.traefik.dynamicConfigOptions.http.routers = {
jellyfin = {
rule = "Host(`jellyfin.kanto.dev`)";
rule = "Host(`jellyfin.kanto.dev`)";
entryPoints = [
"websecure"
];
@ -48,8 +46,7 @@ in
services.traefik.dynamicConfigOptions.http.services = {
jellyfin.loadBalancer.servers = [
{ url = "http://127.0.0.1:${port}"; }
{url = "http://127.0.0.1:${port}";}
];
};
}

View file

@ -1,8 +1,6 @@
{ ... }:
let
{...}: let
port = "5055";
in
{
in {
virtualisation.oci-containers.containers = {
# Request management
jellyseerr = {
@ -39,8 +37,7 @@ in
services.traefik.dynamicConfigOptions.http.services = {
jellyseerr.loadBalancer.servers = [
{ url = "http://127.0.0.1:${port}"; }
{url = "http://127.0.0.1:${port}";}
];
};
}

View file

@ -1,8 +1,6 @@
{ ... }:
let
{...}: let
port = "8686";
in
{
in {
virtualisation.oci-containers.containers = {
# # Music collection manager for Usenet and BitTorrent users
lidarr = {
@ -42,8 +40,7 @@ in
services.traefik.dynamicConfigOptions.http.services = {
lidarr.loadBalancer.servers = [
{ url = "http://127.0.0.1:${port}"; }
{url = "http://127.0.0.1:${port}";}
];
};
}

View file

@ -1,8 +1,6 @@
{ ... }:
let
{...}: let
port = "9925";
in
{
in {
virtualisation.oci-containers.containers = {
mealie = {
autoStart = true;
@ -29,7 +27,7 @@ in
services.traefik.dynamicConfigOptions.http.routers = {
mealie = {
rule = "Host(`mealie.kanto.dev`)";
rule = "Host(`mealie.kanto.dev`)";
entryPoints = [
"websecure"
];
@ -43,9 +41,7 @@ in
services.traefik.dynamicConfigOptions.http.services = {
mealie.loadBalancer.servers = [
{ url = "http://127.0.0.1:${port}"; }
{url = "http://127.0.0.1:${port}";}
];
};
}

View file

@ -1,13 +1,11 @@
{ config, ... }:
let
{config, ...}: let
port = "8181";
in
{
in {
age.secrets.microbin = {
# Environment variables for microbin
rekeyFile = ./environment.age;
owner = "sajenim";
group = "users";
# Environment variables for microbin
rekeyFile = ./environment.age;
owner = "sajenim";
group = "users";
};
virtualisation.oci-containers.containers = {
@ -43,8 +41,7 @@ in
services.traefik.dynamicConfigOptions.http.services = {
microbin.loadBalancer.servers = [
{ url = "http://127.0.0.1:${port}"; }
{url = "http://127.0.0.1:${port}";}
];
};
}

View file

@ -1,8 +1,6 @@
{ ... }:
let
{...}: let
port = "9696";
in
{
in {
virtualisation.oci-containers.containers = {
# Indexer manager/proxy built on the popular arr .net/reactjs base stack to integrate with your various PVR apps.
prowlarr = {
@ -36,11 +34,10 @@ in
service = "prowlarr";
};
};
services.traefik.dynamicConfigOptions.http.services = {
prowlarr.loadBalancer.servers = [
{ url = "http://127.0.0.1:${port}"; }
{url = "http://127.0.0.1:${port}";}
];
};
}

View file

@ -1,16 +1,14 @@
{ ... }:
let
{...}: let
port = "8487";
in
{
in {
virtualisation.oci-containers.containers = {
# # Open-source software alternative to µTorrent
qbittorrent = {
autoStart = true;
image = "ghcr.io/hotio/qbittorrent:release-4.6.5";
ports = [
"${port}:8080/tcp" # WebUI
"32372:32372/tcp" # Transport protocol
"${port}:8080/tcp" # WebUI
"32372:32372/tcp" # Transport protocol
];
volumes = [
# Seedbox
@ -42,8 +40,7 @@ in
services.traefik.dynamicConfigOptions.http.services = {
qbittorrent.loadBalancer.servers = [
{ url = "http://127.0.0.1:${port}"; }
{url = "http://127.0.0.1:${port}";}
];
};
}

View file

@ -1,8 +1,6 @@
{ ... }:
let
{...}: let
port = "7878";
in
{
in {
virtualisation.oci-containers.containers = {
# Movie collection manager for Usenet and BitTorrent users
radarr = {
@ -41,8 +39,7 @@ in
services.traefik.dynamicConfigOptions.http.services = {
radarr.loadBalancer.servers = [
{ url = "http://127.0.0.1:${port}"; }
{url = "http://127.0.0.1:${port}";}
];
};
}

View file

@ -1,6 +1,4 @@
{ ... }:
{
{...}: {
virtualisation.oci-containers.containers = {
# Automatically synchronize recommended settings from the TRaSH guides to your Sonarr/Radarr instances
recyclarr = {

View file

@ -1,8 +1,6 @@
{ ... }:
let
{...}: let
port = "8989";
in
{
in {
virtualisation.oci-containers.containers = {
# PVR for Usenet and BitTorrent users
sonarr = {
@ -42,8 +40,7 @@ in
services.traefik.dynamicConfigOptions.http.services = {
sonarr.loadBalancer.servers = [
{ url = "http://127.0.0.1:${port}"; }
{url = "http://127.0.0.1:${port}";}
];
};
}