diff --git a/configuration.nix b/configuration.nix index 47e03fa..0f00733 100644 --- a/configuration.nix +++ b/configuration.nix @@ -98,6 +98,9 @@ services.jellyfin.enable = true; + services.deluge.enable = true; + services.deluge.web.enable = true; # port 8112 + services.kavita = { enable = true; tokenKeyFile = "/var/kavita-token-key"; @@ -118,8 +121,8 @@ backends = [ { datastore = "config"; - baseDN = "dc=samsehu,dc=perli,dc=casa"; - nameFormat = "cn"; + baseDN = "dc=twins,dc=pearson"; + nameFormat = "uid"; groupFormat = "ou"; } # TODO: package glauth sqlite plugin @@ -143,7 +146,7 @@ passappsha256 = [ "8adb23d6e1bd7db026a5784ff84efcbd57e4d9aea0e0798b78740a3ee335282c" ]; capabilities = [ { action = "search"; - object = "ou=people,dc=samsehu,dc=perli,dc=casa"; } + object = "ou=forgejo_user,dc=twins,dc=pearson"; } ]; } { name = "jellyfin_search"; @@ -153,7 +156,7 @@ passappsha256 = [ "21fa12ba3e63cd4cb96f4009720d385f4d52461ae3ab70fac8dedaa6b7917ce9" ]; capabilities = [ { action = "search"; - object = "ou=people,dc=samsehu,dc=perli,dc=casa"; } + object = "ou=jellyfin_user,dc=twins,dc=pearson"; } ]; } { name = "nextcloud_system_user"; @@ -163,7 +166,7 @@ passappsha256 = [ "0f11783cdf378aa867a2b590e422f8d645fd3d7fab52fb73bac3c62a64d91651" ]; capabilities = [ { action = "search"; - object = "ou=people,dc=samsehu,dc=perli,dc=casa"; } + object = "ou=nextcloud_user,dc=twins,dc=pearson"; } ]; } { name = "dex"; @@ -183,6 +186,9 @@ { name = "people"; gidnumber = 5501; } + { name = "groups"; + gidnumber = 5502; + } { name = "apps"; gidnumber = 5503; } @@ -443,6 +449,11 @@ bind 100.64.0.3 192.168.0.69 reverse_proxy localhost:5000 ''; + + virtualHosts."deluge.samsehu.perli.casa".extraConfig = '' + bind 100.64.0.3 192.168.0.69 + reverse_proxy localhost:8112 + ''; }; # Headscale for access to the network while away from home @@ -469,12 +480,10 @@ { name = "git.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } { name = "nextcloud.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } { name = "glauth.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } -<<<<<<< HEAD { name = "dex.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } { name = "jellyfin.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } -======= { name = "kavita.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } ->>>>>>> 2173c83 (feat: add kavita) + { name = "deluge.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; } ]; };