env: only quote teh ldap user
This commit is contained in:
parent
b252ba4035
commit
43438a369b
1 changed files with 7 additions and 7 deletions
14
flake.nix
14
flake.nix
|
@ -48,18 +48,18 @@
|
||||||
# secret options are in the env file loaded separately
|
# secret options are in the env file loaded separately
|
||||||
environment_config = {
|
environment_config = {
|
||||||
# non secret ldap stuff
|
# non secret ldap stuff
|
||||||
LDAP_HOST = "'${cfg.ldap.host}'";
|
LDAP_HOST = cfg.ldap.host;
|
||||||
LDAP_ADMIN = "'${cfg.ldap.admin}'";
|
LDAP_ADMIN = "'${cfg.ldap.admin}'";
|
||||||
|
|
||||||
# basic server stuff
|
# basic server stuff
|
||||||
HOME = "'${cfg.home}''";
|
HOME = cfg.home;
|
||||||
DATABASE = "'database.db'";
|
DATABASE = "database.db";
|
||||||
CSV = "'wolves.csv'";
|
CSV = "wolves.csv";
|
||||||
HOST_PORT = "'${cfg.host_port}'";
|
HOST_PORT = cfg.host_port;
|
||||||
|
|
||||||
# Email stuff
|
# Email stuff
|
||||||
EMAIL_SMTP = "'${cfg.mail.host}'";
|
EMAIL_SMTP = cfg.mail.host;
|
||||||
EMAIL_USER = "'${cfg.mail.user}'";
|
EMAIL_USER = cfg.mail.user;
|
||||||
|
|
||||||
# special categories of users
|
# special categories of users
|
||||||
USERS_ADMIN = lib.strings.concatStringsSep "," cfg.users.admin;
|
USERS_ADMIN = lib.strings.concatStringsSep "," cfg.users.admin;
|
||||||
|
|
Loading…
Reference in a new issue