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