feat: winter details

This commit is contained in:
Swarsel 2024-10-17 01:24:10 +02:00
parent db96f0c46b
commit ad496dccf3
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
3 changed files with 213 additions and 97 deletions

View file

@ -7631,6 +7631,21 @@ Also, the system state version is set here. No need to touch it.
group = "docker"; group = "docker";
extraGroups = [ "users" ]; extraGroups = [ "users" ];
}; };
radarr = {
extraGroups = [ "users" ];
};
readarr = {
extraGroups = [ "users" ];
};
sonarr = {
extraGroups = [ "users" ];
};
lidarr = {
extraGroups = [ "users" ];
};
prowlarr = {
extraGroups = [ "users" ];
};
}; };
}; };
@ -7642,18 +7657,27 @@ Also, the system state version is set here. No need to touch it.
services = { services = {
radarr = { radarr = {
enable = true; enable = true;
openFirewall = true;
dataDir = "/Vault/apps/radarr"
}; };
readarr = { readarr = {
enable = true; enable = true;
openFirewall = true;
dataDir = "/Vault/apps/readarr"
}; };
sonarr = { sonarr = {
enable = true; enable = true;
openFirewall = true;
dataDir = "/Vault/apps/sonarr"
}; };
lidarr = { lidarr = {
enable = true; enable = true;
openFirewall = true;
dataDir = "/Vault/apps/lidarr"
}; };
prowlarr = { prowlarr = {
enable = true; enable = true;
openFirewall = true;
}; };
nginx = { nginx = {
@ -7669,6 +7693,18 @@ Also, the system state version is set here. No need to touch it.
client_max_body_size 0; client_max_body_size 0;
''; '';
}; };
"/radarr" = {
proxyPass = "http://127.0.0.1:8080";
extraConfig = ''
client_max_body_size 0;
'';
};
"/sonarr" = {
proxyPass = "http://127.0.0.1:8080";
extraConfig = ''
client_max_body_size 0;
'';
};
}; };
}; };
}; };
@ -7715,26 +7751,48 @@ Also, the system state version is set here. No need to touch it.
folders = { folders = {
"Default Folder" = { "Default Folder" = {
path = "/Vault/data/syncthing/Sync"; path = "/Vault/data/syncthing/Sync";
type = "receiveonly";
versioning = null;
devices = [ "sync (@oracle)" "magicant" "zenfone9" "nbl-imba-2" ]; devices = [ "sync (@oracle)" "magicant" "zenfone9" "nbl-imba-2" ];
id = "default"; id = "default";
}; };
"Obsidian" = { "Obsidian" = {
path = "/Vault/data/syncthing/Obsidian"; path = "/Vault/data/syncthing/Obsidian";
type = "receiveonly";
versioning = {
type = "simple";
params.keep = "5";
};
devices = [ "sync (@oracle)" "magicant" "zenfone9" "nbl-imba-2" ]; devices = [ "sync (@oracle)" "magicant" "zenfone9" "nbl-imba-2" ];
id = "yjvni-9eaa7"; id = "yjvni-9eaa7";
}; };
"Org" = { "Org" = {
path = "/Vault/data/syncthing/Org"; path = "/Vault/data/syncthing/Org";
type = "receiveonly";
versioning = {
type = "simple";
params.keep = "5";
};
devices = [ "sync (@oracle)" "magicant" "zenfone9" "nbl-imba-2" ]; devices = [ "sync (@oracle)" "magicant" "zenfone9" "nbl-imba-2" ];
id = "a7xnl-zjj3d"; id = "a7xnl-zjj3d";
}; };
"Vpn" = { "Vpn" = {
path = "/Vault/data/syncthing/Vpn"; path = "/Vault/data/syncthing/Vpn";
type = "receiveonly";
versioning = {
type = "simple";
params.keep = "5";
};
devices = [ "sync (@oracle)" "magicant" "zenfone9" "nbl-imba-2" ]; devices = [ "sync (@oracle)" "magicant" "zenfone9" "nbl-imba-2" ];
id = "hgp9s-fyq3p"; id = "hgp9s-fyq3p";
}; };
"Documents" = { "Documents" = {
path = "/Vault/data/syncthing/Documents"; path = "/Vault/data/syncthing/Documents";
type = "receiveonly";
versioning = {
type = "simple";
params.keep = "5";
};
devices = [ "magicant" "nbl-imba-2" ]; devices = [ "magicant" "nbl-imba-2" ];
id = "hgr3d-pfu3w"; id = "hgr3d-pfu3w";
}; };

View file

@ -31,26 +31,48 @@
folders = { folders = {
"Default Folder" = { "Default Folder" = {
path = "/Vault/data/syncthing/Sync"; path = "/Vault/data/syncthing/Sync";
type = "receiveonly";
versioning = null;
devices = [ "sync (@oracle)" "magicant" "zenfone9" "nbl-imba-2" ]; devices = [ "sync (@oracle)" "magicant" "zenfone9" "nbl-imba-2" ];
id = "default"; id = "default";
}; };
"Obsidian" = { "Obsidian" = {
path = "/Vault/data/syncthing/Obsidian"; path = "/Vault/data/syncthing/Obsidian";
type = "receiveonly";
versioning = {
type = "simple";
params.keep = "5";
};
devices = [ "sync (@oracle)" "magicant" "zenfone9" "nbl-imba-2" ]; devices = [ "sync (@oracle)" "magicant" "zenfone9" "nbl-imba-2" ];
id = "yjvni-9eaa7"; id = "yjvni-9eaa7";
}; };
"Org" = { "Org" = {
path = "/Vault/data/syncthing/Org"; path = "/Vault/data/syncthing/Org";
type = "receiveonly";
versioning = {
type = "simple";
params.keep = "5";
};
devices = [ "sync (@oracle)" "magicant" "zenfone9" "nbl-imba-2" ]; devices = [ "sync (@oracle)" "magicant" "zenfone9" "nbl-imba-2" ];
id = "a7xnl-zjj3d"; id = "a7xnl-zjj3d";
}; };
"Vpn" = { "Vpn" = {
path = "/Vault/data/syncthing/Vpn"; path = "/Vault/data/syncthing/Vpn";
type = "receiveonly";
versioning = {
type = "simple";
params.keep = "5";
};
devices = [ "sync (@oracle)" "magicant" "zenfone9" "nbl-imba-2" ]; devices = [ "sync (@oracle)" "magicant" "zenfone9" "nbl-imba-2" ];
id = "hgp9s-fyq3p"; id = "hgp9s-fyq3p";
}; };
"Documents" = { "Documents" = {
path = "/Vault/data/syncthing/Documents"; path = "/Vault/data/syncthing/Documents";
type = "receiveonly";
versioning = {
type = "simple";
params.keep = "5";
};
devices = [ "magicant" "nbl-imba-2" ]; devices = [ "magicant" "nbl-imba-2" ];
id = "hgr3d-pfu3w"; id = "hgr3d-pfu3w";
}; };

View file

@ -16,6 +16,21 @@
group = "docker"; group = "docker";
extraGroups = [ "users" ]; extraGroups = [ "users" ];
}; };
radarr = {
extraGroups = [ "users" ];
};
readarr = {
extraGroups = [ "users" ];
};
sonarr = {
extraGroups = [ "users" ];
};
lidarr = {
extraGroups = [ "users" ];
};
prowlarr = {
extraGroups = [ "users" ];
};
}; };
}; };
@ -27,18 +42,27 @@
services = { services = {
radarr = { radarr = {
enable = true; enable = true;
openFirewall = true;
dataDir = "/Vault/apps/radarr"
}; };
readarr = { readarr = {
enable = true; enable = true;
openFirewall = true;
dataDir = "/Vault/apps/readarr"
}; };
sonarr = { sonarr = {
enable = true; enable = true;
openFirewall = true;
dataDir = "/Vault/apps/sonarr"
}; };
lidarr = { lidarr = {
enable = true; enable = true;
openFirewall = true;
dataDir = "/Vault/apps/lidarr"
}; };
prowlarr = { prowlarr = {
enable = true; enable = true;
openFirewall = true;
}; };
nginx = { nginx = {
@ -54,6 +78,18 @@
client_max_body_size 0; client_max_body_size 0;
''; '';
}; };
"/radarr" = {
proxyPass = "http://127.0.0.1:8080";
extraConfig = ''
client_max_body_size 0;
'';
};
"/sonarr" = {
proxyPass = "http://127.0.0.1:8080";
extraConfig = ''
client_max_body_size 0;
'';
};
}; };
}; };
}; };