This commit is contained in:
Hadi
2024-08-22 16:28:08 +02:00
parent 771dceeb06
commit 28424b82ab
7 changed files with 62 additions and 19 deletions

View File

@@ -12,6 +12,7 @@
"ntfy.anotherhadi.com"
"home.anotherhadi.com"
"kuma.anotherhadi.com"
"media.anotherhadi.com"
];
proxied = true;
apiTokenFile = "/etc/cloudflare/apiToken";

View File

@@ -1,21 +1,34 @@
{
imports = [
./jellyfin.nix
# ./jellyseerr.nix
# ./prowlarr.nix
# ./radarr.nix
# ./sonarr.nix
# ./transmission.nix
];
{ config, ... }: {
nixarr = {
enable = true;
mediaDir = "/data/media";
stateDir = "/data/media/.state/nixarr";
users.groups = { jackflix = { }; };
vpn = {
enable = true;
wgConf = "/data/.secret/wg.conf";
};
users.users.jackflix = {
isNormalUser = true;
home = "/home/jackflix";
description = "My own netflix";
hashedPassword =
"$y$j9T$9.hOJCwwmryq3PzEOGtjZ.$hu/76TghEjongcbls7oDoN2GWRqg8AwCknq.CS0zB.8";
extraGroups = [ "docker" "jackflix" ];
jellyfin = {
enable = true;
expose.https = {
enable = true;
domainName = "media.anotherhadi.com";
acmeMail = config.var.git.email; # Required for ACME-bot
};
};
transmission = {
enable = true;
vpn.enable = true;
peerPort = 50000;
};
bazarr.enable = true;
lidarr.enable = true;
prowlarr.enable = true;
radarr.enable = true;
readarr.enable = true;
sonarr.enable = true;
};
}

View File

@@ -0,0 +1,21 @@
# {
# imports = [
# ./jellyfin.nix
# # ./jellyseerr.nix
# # ./prowlarr.nix
# # ./radarr.nix
# # ./sonarr.nix
# # ./transmission.nix
# ];
#
# users.groups = { jackflix = { }; };
#
# users.users.jackflix = {
# isNormalUser = true;
# home = "/home/jackflix";
# description = "My own netflix";
# hashedPassword =
# "$y$j9T$9.hOJCwwmryq3PzEOGtjZ.$hu/76TghEjongcbls7oDoN2GWRqg8AwCknq.CS0zB.8";
# extraGroups = [ "docker" "jackflix" ];
# };
# }