Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NixOS
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nicolas Lenz
NixOS
Commits
e88ad861
Verified
Commit
e88ad861
authored
2 months ago
by
Nicolas Lenz
Browse files
Options
Downloads
Patches
Plain Diff
wip
parent
696c453b
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
nixos/server/gallery.nix
+14
-1
14 additions, 1 deletion
nixos/server/gallery.nix
res/secrets/server/gallery.age
+0
-0
0 additions, 0 deletions
res/secrets/server/gallery.age
with
14 additions
and
1 deletion
nixos/server/gallery.nix
+
14
−
1
View file @
e88ad861
...
@@ -25,10 +25,23 @@
...
@@ -25,10 +25,23 @@
PHOTOPRISM_DATABASE_SERVER
=
"/run/mysqld/mysqld.sock"
;
PHOTOPRISM_DATABASE_SERVER
=
"/run/mysqld/mysqld.sock"
;
PHOTOPRISM_DATABASE_NAME
=
"photoprism"
;
PHOTOPRISM_DATABASE_NAME
=
"photoprism"
;
PHOTOPRISM_DATABASE_USER
=
"photoprism"
;
PHOTOPRISM_DATABASE_USER
=
"photoprism"
;
PHOTOPRISM_LOG_LEVEL
=
"debug"
;
PHOTOPRISM_OIDC_URI
=
"https://auth.eisfunke.com/application/o/eisfunkegallery/"
;
PHOTOPRISM_OIDC_CLIENT
=
"bgZd35W6isBUnkDnLIqDA1HGlVbjNdauxfAZvxvE"
;
#PHOTOPRISM_OIDC_SECRET is set in environmentfile
#PHOTOPRISM_OIDC_SCOPES = "";
PHOTOPRISM_OIDC_PROVIDER
=
"EisfunkeAuth"
;
#PHOTOPRISM_OIDC_ICON = "";
#PHOTOPRISM_OIDC_REDIRECT = ""; TODO activate
PHOTOPRISM_OIDC_REGISTER
=
"true"
;
# TODO don't forget to set permissions in authentik!
#PHOTOPRISM_OIDC_USERNAME = "";
#PHOTOPRISM_OIDC_WEBDAV = "";
};
};
};
};
# sponsor features a
re enabled he
re
# sponsor features a
nd OIDC sec
re
t
systemd
.
services
.
photoprism
.
serviceConfig
.
EnvironmentFile
=
config
.
age
.
secrets
.
server_gallery
.
path
;
systemd
.
services
.
photoprism
.
serviceConfig
.
EnvironmentFile
=
config
.
age
.
secrets
.
server_gallery
.
path
;
# sadly PhotoPrism doesn't support PostgreSQL
# sadly PhotoPrism doesn't support PostgreSQL
...
...
This diff is collapsed.
Click to expand it.
res/secrets/server/gallery.age
+152 B (+27%)
View file @
e88ad861
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment