Compare commits
2 Commits
af899a7176
...
859c4a1648
Author | SHA1 | Date |
---|---|---|
Louis Pearson | 859c4a1648 | |
Louis Pearson | bc1a3dad08 |
|
@ -98,6 +98,16 @@
|
||||||
|
|
||||||
services.jellyfin.enable = true;
|
services.jellyfin.enable = true;
|
||||||
|
|
||||||
|
services.deluge.enable = true;
|
||||||
|
services.deluge.web.enable = true; # port 8112
|
||||||
|
|
||||||
|
services.kavita = {
|
||||||
|
enable = true;
|
||||||
|
tokenKeyFile = "/var/kavita-token-key";
|
||||||
|
# Uh, typo in the service definition
|
||||||
|
ipAdresses = [ "127.0.0.1" "::1" ];
|
||||||
|
};
|
||||||
|
|
||||||
services.glauth = {
|
services.glauth = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -111,8 +121,8 @@
|
||||||
backends = [
|
backends = [
|
||||||
{
|
{
|
||||||
datastore = "config";
|
datastore = "config";
|
||||||
baseDN = "dc=samsehu,dc=perli,dc=casa";
|
baseDN = "dc=twins,dc=pearson";
|
||||||
nameFormat = "cn";
|
nameFormat = "uid";
|
||||||
groupFormat = "ou";
|
groupFormat = "ou";
|
||||||
}
|
}
|
||||||
# TODO: package glauth sqlite plugin
|
# TODO: package glauth sqlite plugin
|
||||||
|
@ -136,7 +146,7 @@
|
||||||
passappsha256 = [ "8adb23d6e1bd7db026a5784ff84efcbd57e4d9aea0e0798b78740a3ee335282c" ];
|
passappsha256 = [ "8adb23d6e1bd7db026a5784ff84efcbd57e4d9aea0e0798b78740a3ee335282c" ];
|
||||||
capabilities = [
|
capabilities = [
|
||||||
{ action = "search";
|
{ action = "search";
|
||||||
object = "ou=people,dc=samsehu,dc=perli,dc=casa"; }
|
object = "ou=forgejo_user,dc=twins,dc=pearson"; }
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{ name = "jellyfin_search";
|
{ name = "jellyfin_search";
|
||||||
|
@ -146,7 +156,7 @@
|
||||||
passappsha256 = [ "21fa12ba3e63cd4cb96f4009720d385f4d52461ae3ab70fac8dedaa6b7917ce9" ];
|
passappsha256 = [ "21fa12ba3e63cd4cb96f4009720d385f4d52461ae3ab70fac8dedaa6b7917ce9" ];
|
||||||
capabilities = [
|
capabilities = [
|
||||||
{ action = "search";
|
{ action = "search";
|
||||||
object = "ou=people,dc=samsehu,dc=perli,dc=casa"; }
|
object = "ou=jellyfin_user,dc=twins,dc=pearson"; }
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{ name = "nextcloud_system_user";
|
{ name = "nextcloud_system_user";
|
||||||
|
@ -156,7 +166,7 @@
|
||||||
passappsha256 = [ "0f11783cdf378aa867a2b590e422f8d645fd3d7fab52fb73bac3c62a64d91651" ];
|
passappsha256 = [ "0f11783cdf378aa867a2b590e422f8d645fd3d7fab52fb73bac3c62a64d91651" ];
|
||||||
capabilities = [
|
capabilities = [
|
||||||
{ action = "search";
|
{ action = "search";
|
||||||
object = "ou=people,dc=samsehu,dc=perli,dc=casa"; }
|
object = "ou=nextcloud_user,dc=twins,dc=pearson"; }
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{ name = "dex";
|
{ name = "dex";
|
||||||
|
@ -176,6 +186,9 @@
|
||||||
{ name = "people";
|
{ name = "people";
|
||||||
gidnumber = 5501;
|
gidnumber = 5501;
|
||||||
}
|
}
|
||||||
|
{ name = "groups";
|
||||||
|
gidnumber = 5502;
|
||||||
|
}
|
||||||
{ name = "apps";
|
{ name = "apps";
|
||||||
gidnumber = 5503;
|
gidnumber = 5503;
|
||||||
}
|
}
|
||||||
|
@ -431,6 +444,16 @@
|
||||||
bind 100.64.0.3
|
bind 100.64.0.3
|
||||||
reverse_proxy localhost:5556
|
reverse_proxy localhost:5556
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
virtualHosts."kavita.samsehu.perli.casa".extraConfig = ''
|
||||||
|
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
|
# Headscale for access to the network while away from home
|
||||||
|
@ -459,6 +482,8 @@
|
||||||
{ name = "glauth.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; }
|
{ name = "glauth.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; }
|
||||||
{ name = "dex.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; }
|
{ 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 = "jellyfin.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; }
|
||||||
|
{ name = "kavita.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; }
|
||||||
|
{ name = "deluge.samsehu.perli.casa"; type = "A"; value = "100.64.0.3"; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue