nixpkgs/nixos/modules/services
Brian Olsen 3a4459a305
nixos/rspamd: Support multiple workers
When the workers option for rspamd was originally implemented it was
based on a flawed understanding of how workers are configured in rspamd.
This meant that while rspamd supports configuring multiple workers of
the same type, so that different controller workers could have different
passwords, the NixOS module did not support this because it would write
an invalid configuration file if you tried.

Specifically a configuration like the one below:

```
workers.controller = {};
workers.controller2 = {
  type = "controller";
};
```

Would result in a rspamd configuration of:

```
worker {
  type = "controller";
  count = 1;
  .include "$CONFDIR/worker-controller.inc"
}
worker "controller2" {
  type = "controller";
  count = 1;
}
```

While to get multiple controller workers it should instead be:

```
worker "controller" {
  type = "controller";
  count = 1;
  .include "$CONFDIR/worker-controller.inc"
}
worker "controller" {
  type = "controller";
  count = 1;
}
```
2018-11-06 00:26:55 +01:00
..
admin salt: Restart on config changes 2018-10-15 19:59:25 -07:00
amqp rabbitmq module: modernize after package upgrade 2018-09-25 11:19:23 +02:00
audio nixos/mpd: allow storage plugins in musicDirectory 2018-08-03 21:36:38 +02:00
backup Merge pull request #44332 from jerith666/restic-s3-default 2018-08-01 22:56:12 -04:00
cluster kubernetes: 1.11.3 -> 1.12.0 2018-09-30 14:49:26 +02:00
computing nixos/slurm: add maintainer to module and test 2018-10-30 19:50:52 +01:00
continuous-integration buildbot: add Python 3 support 2018-10-11 21:39:11 -04:00
databases nixos/postgresql: add myself as maintainer 2018-11-02 13:52:33 -05:00
desktops Merge pull request #43133 from worldofpeace/gsignond 2018-10-26 19:29:56 +02:00
development nixos/jupyter: init service 2018-08-26 12:00:54 +02:00
editors docs: format 2018-09-29 20:51:11 -04:00
games nixos/terraria: Wait for daemon to stop 2018-08-20 21:41:29 +02:00
hardware nixos/upower: lockdown service using upstream settings 2018-10-29 08:09:52 -05:00
logging journaldriver: 1.0.0 -> 1.1.0 (#48106) 2018-10-09 23:45:43 +02:00
mail nixos/rspamd: Support multiple workers 2018-11-06 00:26:55 +01:00
misc gitlab module: fix config handling 2018-11-04 00:26:01 +01:00
monitoring nixos/prometheus: check configuration before starting service 2018-11-04 15:08:44 +01:00
network-filesystems nixos/openafs: Add defaultText to avoid evaluating packages 2018-10-18 13:11:52 +02:00
networking consul: 0.9.3 -> 1.3.0. 2018-11-03 18:39:46 +01:00
printing cups-googlecloudprint: init at 20160502 2018-10-11 09:19:58 +01:00
scheduling nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
search solr: 4.10.3 -> 7.5.0, refactor service to reflect major changes in version bump, NixOS test included 2018-11-03 13:14:13 -04:00
security nixos/munge: do not create unnecessary log dir 2018-10-21 20:46:09 +02:00
system nixos: correct improper uses of mkEnableOption, clarify service descriptions 2018-10-05 13:14:45 +07:00
torrent nixos/transmission: fix AppArmor profile to include keyutils 2018-08-31 17:19:29 +02:00
ttys nixos/kmscon: Add autologin option 2018-09-29 21:55:14 +02:00
web-apps nixos/nextcloud: fix a typo 2018-10-25 18:04:36 +02:00
web-servers nixos/tomcat: add purifyOnStart option 2018-10-29 18:26:22 +07:00
x11 gtk: don't hardcode glibc use 2018-10-30 19:52:03 -05:00