This commit is contained in:
Hadi 2024-06-23 23:32:18 +02:00
parent 469f903657
commit d5aa5b1a49
4 changed files with 28 additions and 15 deletions

View File

@ -28,3 +28,4 @@ feel free to contribute <3 ([CONTRIBUTING.md](CONTRIBUTING.md))
- [ ] server fetch
- [ ] Ntfy auth file
- [ ] Fix adguard
- [ ] Launch transmission-openvpn on boot (see hosts/server/modules/jackflix/transmission.nix)

View File

@ -1,9 +1,4 @@
{
users.users.radarr = {
isSystemUser = true;
home = "/var/lib/radarr-root";
};
services.radarr = {
enable = true;
openFirewall = true;

View File

@ -1,4 +1,21 @@
{
environment.etc."/etc/transmission.sh" = {
text = ''
docker run --cap-add=NET_ADMIN -d \
-v /var/lib/transmission-openvpn/data:/data \
-v /var/lib/transmission-openvpn/config:/config \
-e OPENVPN_PROVIDER=PIA \
-e OPENVPN_CONFIG=france \
-e OPENVPN_USERNAME=username\
-e OPENVPN_PASSWORD="password" \
-e LOCAL_NETWORK=192.168.2.0/24 \
--log-driver json-file \
--log-opt max-size=10m \
-p 9091:9091 \
haugene/transmission-openvpn
'';
};
# launch the container at boot
networking.firewall.allowedTCPPorts = [ 9091 ];
networking.firewall.allowedUDPPorts = [ 9091 ];
}

View File

@ -14,7 +14,7 @@ let
},
"folders": [
{
"name": "Home",
"name": " Home",
"links": [
{
"title": "Nextcloud",
@ -29,47 +29,47 @@ let
]
},
{
"name": "Streaming",
"name": "󰚺 Streaming",
"links": [
{
"title": "Jellyfin",
"url": "http://jack:8096",
"icon": "󰅟"
"icon": "󰼂"
},
{
"title": "Jellyseerr",
"url": "http://jack:5055",
"icon": "󰅟"
"icon": "󰼁"
},
{
"title": "Radarr",
"url": "http://jack:7878",
"icon": "󰅟"
"icon": "R"
},
{
"title": "Sonarr",
"url": "http://jack:8989",
"icon": "󰅟"
"icon": "S"
},
{
"title": "Bazarr",
"url": "http://jack:6767",
"icon": "󰅟"
"icon": "B"
},
{
"title": "Transmission",
"url": "http://jack:9091",
"icon": "󰅟"
"icon": "󰴾"
},
{
"title": "Prowlarr",
"url": "http://jack:9696",
"icon": "󰅟"
"icon": "󱖫"
}
]
},
{
"name": "Admin",
"name": " Admin",
"links": [
{
"title": "Uptime Kuma",