nixpkgs/nixos/modules/services
aszlig c7bbb93878
taskserver: Pass configuration via command line
Putting an include directive in the configuration file referencing a
store path with the real configuration file has the disavantage that
once we change the real configuration file the store path is also a
different one.

So we would have to replace that include directive with the new
configuration file, which is very much error-prone, because whenever
taskd modifies the configuration file on its own it generates a new one
with *only* the key/value options and without any include directives.

Another problem is that we only added the include directive on the first
initalization, so whenever there is *any* configuration change, it won't
affect anything.

We're now passing all the configuration options via command line,
because taskd treats everything in the form of --<name>=<value> to be a
configuration directive.

This also has the effect that we now no longer have extraConfig, because
configuration isn't a file anymore.

Instead we now have an attribute set that is mapped down to
configuration options.

Unfortunately this isn't so easy with the way taskd is configured,
because there is an option called "server" and also other options like
"server.cert", "server.key" and so on, which do not map very well to
attribute sets.

So we have an exception for the "server" option, which is now called
"server.listen", because it specifies the listening address.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Fixes: #22705
2017-02-17 19:45:58 +01:00
..
amqp nixos manuals: bring back package references 2016-02-03 14:47:14 +01:00
audio Merge pull request #21505 from tg-x/mpd-listen 2017-01-01 16:06:17 +01:00
backup tarsnap service: fix multiple simultaneous archives with a single key 2016-11-20 19:15:52 +03:00
cluster fix systemd.services.kube-proxy to use correct extraOpts 2017-02-12 15:06:59 +00:00
computing boinc service: use <link> instead of <ulink> 2016-12-08 15:50:52 +00:00
continuous-integration buildbot: 0.9.0.post1 -> 0.9.3 2017-02-07 11:14:42 -05:00
databases stanchion: remove ssl option 2017-02-17 13:24:51 +01:00
desktops psd service: assert that at least one user must be configured 2016-12-10 20:35:44 +01:00
development hoogle service: fixups 2016-04-22 03:58:08 +02:00
editors ~/.nixpkgs -> ~/.config/nixpkgs 2017-02-01 16:07:55 +01:00
games factorio: remove autosave-interval from command-line options 2017-01-25 21:39:37 +01:00
hardware bluetooth module: add option to power up bluetooth controller (#22685) 2017-02-17 19:44:04 +01:00
logging Merging with upstream 2017-01-29 05:54:01 -06:00
mail Merging against upstream master 2017-02-13 17:16:28 -06:00
misc taskserver: Pass configuration via command line 2017-02-17 19:45:58 +01:00
monitoring prometheus.blackboxExporter service: add CAP_NET_RAW 2017-02-15 09:35:27 +01:00
network-filesystems Merging against upstream master 2017-02-13 17:16:28 -06:00
networking Fix typo introduced by #22677 2017-02-15 23:44:11 +00:00
printing use symlink to ensure cupsd.conf PATH always points to a valid store path 2016-12-13 21:35:56 -05:00
scheduling nixos/cron: unbreak since new security.wrapper 2017-02-15 08:30:58 +01:00
search nixos/modules: use defaultText where applicable 2016-11-21 16:35:15 +01:00
security hologram: 8d86e3f -> d20d1c3 2017-02-02 11:31:42 -05:00
system Merging against upstream master 2017-02-13 17:16:28 -06:00
torrent flexget: move out of python-packages.nix 2016-12-31 09:52:45 +01:00
ttys agetty: remove override for container-getty@.service since it's upstream 2016-09-05 15:03:35 +02:00
web-apps frab module: init 2017-01-25 23:58:21 +01:00
web-servers Revert "nginx: Format the config file" 2017-02-16 22:45:00 +01:00
x11 pam: add optional pam_kwallet5 integration 2017-02-16 02:26:42 -05:00