Add braces to fix compilation errors.
I don't understand how Apache gets away without them.
This commit is contained in:
parent
76b7dea805
commit
9c62645273
@ -74,14 +74,15 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
users.extraUsers = optionalAttrs (cfg.user == "nginx") singleton
|
||||
{ name = "nginx";
|
||||
group = "nginx";
|
||||
uid = config.ids.uids.nginx;
|
||||
};
|
||||
users.extraUsers = optionalAttrs (cfg.user == "nginx") (singleton
|
||||
{ name = "nginx";
|
||||
group = "nginx";
|
||||
uid = config.ids.uids.nginx;
|
||||
});
|
||||
|
||||
users.extraGroups = optionalAttrs (cfg.group == "nginx") singleton
|
||||
{ name = "nginx";
|
||||
gid = config.ids.gids.nginx;
|
||||
};
|
||||
users.extraGroups = optionalAttrs (cfg.group == "nginx") (singleton
|
||||
{ name = "nginx";
|
||||
gid = config.ids.gids.nginx;
|
||||
});
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user