treewide: remove redundant quotes

This commit is contained in:
volth
2019-09-08 23:38:31 +00:00
parent 4b929acf67
commit 7b8fb5c06c
387 changed files with 487 additions and 487 deletions

View File

@@ -165,7 +165,7 @@ in {
config = mkIf cfg.enable {
services.phpfpm.pools = mkIf (cfg.pool == "${poolName}") {
"${poolName}" = {
${poolName} = {
user = "icingaweb2";
phpOptions = ''
extension = ${pkgs.phpPackages.imagick}/lib/php/extensions/imagick.so

View File

@@ -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;
};
}

View File

@@ -179,7 +179,7 @@ in
config = mkIf cfg.enable {
services.phpfpm.pools = {
"${poolName}" = {
${poolName} = {
inherit (cfg) user group;
phpOptions = ''

View File

@@ -115,7 +115,7 @@ in
config = mkIf cfg.enable {
services.phpfpm.pools = mkIf (cfg.pool == "${poolName}") {
"${poolName}" = {
${poolName} = {
user = "nginx";
settings = mapAttrs (name: mkDefault) {
"listen.owner" = "nginx";

View File

@@ -520,7 +520,7 @@ let
];
services.phpfpm.pools = mkIf (cfg.pool == "${poolName}") {
"${poolName}" = {
${poolName} = {
inherit (cfg) user;
settings = mapAttrs (name: mkDefault) {
"listen.owner" = "nginx";