treewide: remove redundant quotes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -179,7 +179,7 @@ in
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
services.phpfpm.pools = {
|
||||
"${poolName}" = {
|
||||
${poolName} = {
|
||||
inherit (cfg) user group;
|
||||
|
||||
phpOptions = ''
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -520,7 +520,7 @@ let
|
||||
];
|
||||
|
||||
services.phpfpm.pools = mkIf (cfg.pool == "${poolName}") {
|
||||
"${poolName}" = {
|
||||
${poolName} = {
|
||||
inherit (cfg) user;
|
||||
settings = mapAttrs (name: mkDefault) {
|
||||
"listen.owner" = "nginx";
|
||||
|
||||
Reference in New Issue
Block a user