diff options
author | volth <volth@volth.com> | 2019-09-08 23:38:31 +0000 |
---|---|---|
committer | volth <volth@volth.com> | 2019-09-08 23:38:31 +0000 |
commit | 7b8fb5c06cc28a9ed2bbe605de44570ad6c8fecc (patch) | |
tree | b533615a7e59e291dcff5793e00586dbf9d1417e /nixos/modules/services/web-apps/moodle.nix | |
parent | 4b929acf6739c1a60616f2a1edaf513b8e3dcc84 (diff) |
treewide: remove redundant quotes
Diffstat (limited to 'nixos/modules/services/web-apps/moodle.nix')
-rw-r--r-- | nixos/modules/services/web-apps/moodle.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/web-apps/moodle.nix b/nixos/modules/services/web-apps/moodle.nix index f2516c67c6b31..7f71b86a6fe62 100644 --- a/nixos/modules/services/web-apps/moodle.nix +++ b/nixos/modules/services/web-apps/moodle.nix @@ -18,7 +18,7 @@ let global $CFG; $CFG = new stdClass(); - $CFG->dbtype = '${ { "mysql" = "mariadb"; "pgsql" = "pgsql"; }.${cfg.database.type} }'; + $CFG->dbtype = '${ { mysql = "mariadb"; pgsql = "pgsql"; }.${cfg.database.type} }'; $CFG->dblibrary = 'native'; $CFG->dbhost = '${cfg.database.host}'; $CFG->dbname = '${cfg.database.name}'; @@ -92,8 +92,8 @@ in type = types.int; description = "Database host port."; default = { - "mysql" = 3306; - "pgsql" = 5432; + mysql = 3306; + pgsql = 5432; }.${cfg.database.type}; defaultText = "3306"; }; @@ -294,7 +294,7 @@ in systemd.services.httpd.after = optional mysqlLocal "mysql.service" ++ optional pgsqlLocal "postgresql.service"; - users.users."${user}".group = group; + users.users.${user}.group = group; }; } |