From 43438a369ba678f6c317d3a995f918afceb021a1 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sun, 30 Jul 2023 05:54:45 +0100 Subject: [PATCH] env: only quote teh ldap user --- flake.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index 8f39c1f..91c30c7 100644 --- a/flake.nix +++ b/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_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;