feat: Added stuff
This commit is contained in:
@@ -3,10 +3,12 @@
|
||||
secrets."authelia/oidc/immich/client_id" = {
|
||||
owner = config.systemd.services.authelia-darksailor.serviceConfig.User;
|
||||
mode = "0440";
|
||||
restartUnits = ["immich-server.service" "authelia-darksailor.service"];
|
||||
};
|
||||
secrets."authelia/oidc/immich/client_secret" = {
|
||||
owner = config.systemd.services.authelia-darksailor.serviceConfig.User;
|
||||
mode = "0440";
|
||||
restartUnits = ["immich-server.service" "authelia-darksailor.service"];
|
||||
};
|
||||
templates = {
|
||||
"immich-config.json" = {
|
||||
@@ -36,10 +38,10 @@
|
||||
'';
|
||||
mode = "0400";
|
||||
owner = "immich";
|
||||
restartUnits = ["immich-server.service" "authelia-darksailor.service"];
|
||||
};
|
||||
};
|
||||
};
|
||||
users.users.immich.extraGroups = [config.systemd.services.authelia-darksailor.serviceConfig.Group];
|
||||
services.immich = {
|
||||
enable = true;
|
||||
mediaLocation = "/media/photos/immich";
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
};
|
||||
};
|
||||
open-webui = {
|
||||
enable = false;
|
||||
enable = true;
|
||||
port = 7070;
|
||||
environment = {
|
||||
SCARF_NO_ANALYTICS = "True";
|
||||
|
||||
@@ -13,8 +13,6 @@
|
||||
http_port = 5090;
|
||||
ldap_port = 389;
|
||||
ldap_host = "::";
|
||||
# environment = {
|
||||
# };
|
||||
environmentFile = ''
|
||||
LLDAP_LDAP_USER_PASS_FILE = ${config.sops.secrets."lldap/admin".path};
|
||||
LLDAP_JWT_SECRET_FILE = ${config.sops.secrets."lldap/jwt".path};
|
||||
|
||||
Reference in New Issue
Block a user