nixpkgs/nixos/modules/services/misc
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
..
taskserver taskserver: Pass configuration via command line 2017-02-17 19:45:58 +01:00
apache-kafka.nix apache-kafka service: change default brokerId to -1 2017-01-24 12:32:22 -05:00
autofs.nix nixos/autofs: fix typo afuese -> afuse 2016-09-19 13:49:47 +02:00
bepasty.nix nixos: use types.lines for extraConfig 2016-10-23 19:41:43 +02:00
calibre-server.nix
canto-daemon.nix
cfdyndns.nix
cgminer.nix
confd.nix confd service: change default etcd port 4001 -> 2379 2016-09-28 23:35:54 +02:00
couchpotato.nix couchpotato module: init 2017-01-16 12:54:43 +01:00
cpuminer-cryptonight.nix
defaultUnicornConfig.rb
devmon.nix
dictd.nix nixos/modules: use defaultText where applicable 2016-11-21 16:35:15 +01:00
disnix.nix nixos/modules: use defaultText where applicable 2016-11-21 16:35:15 +01:00
docker-registry.nix dockerRegistry module: re-init with new underlying software 2016-10-12 14:05:09 +02:00
dysnomia.nix
emby.nix emby: use makeWrapper to supply ffmpeg/probe paths 2016-10-03 12:23:44 +02:00
errbot.nix errbot service: fix import config in plugins 2016-11-08 17:44:52 +01:00
etcd.nix misc.etcd: get closer to upstream service definition 2016-09-13 11:19:22 +02:00
felix.nix
folding-at-home.nix folding-at-home service: network-interfaces.target -> network.target 2016-09-13 11:19:22 +02:00
gammu-smsd.nix
geoip-updater.nix nixos/geoip-updater: run as user 'geoip' instead of 'nobody' 2017-02-15 23:25:27 +01:00
gitit.nix Fix #4210: Remove builderDefs 2016-08-31 11:34:46 +02:00
gitlab.nix gitlab service: fix database creation 2017-02-13 00:57:22 +01:00
gitlab.xml nixos/doc/gitlab: fix build 2016-08-26 15:47:39 +02:00
gitolite.nix
gogs.nix gogs: fix error on push 2017-02-04 12:16:37 +01:00
gpsd.nix
ihaskell.nix nixos: drop unused 'haskellPackages' option from ihaskell service 2017-01-31 22:38:01 +01:00
leaps.nix leaps: 0.5.1 + add a service + test 2016-11-06 10:34:42 +01:00
mantisbt.nix
mathics.nix
matrix-synapse-log_config.yaml
matrix-synapse.nix matrix-synapse service: Make url_preview_enabled optional (#20609) 2016-11-28 03:33:48 +01:00
mbpfan.nix
mediatomb.nix
mesos-master.nix mesos: 1.0.1 -> 1.1.0 2016-12-29 20:09:46 -05:00
mesos-slave.nix mesos: 1.0.1 -> 1.1.0 2016-12-29 20:09:46 -05:00
mwlib.nix
nix-daemon.nix Revert "nix-daemon: default useSandbox to true" 2017-02-14 14:13:39 -05:00
nix-gc.nix nix gc service: fix use of startAt 2016-10-23 17:56:49 +02:00
nix-optimise.nix nix-optimise module: fix startAt 2016-10-19 02:22:12 +02:00
nix-ssh-serve.nix
nixos-manual.nix
nscd-sssd.conf sssd: init at 1.14.2 2017-01-04 03:07:20 +03:00
nzbget.nix
octoprint.nix nixos/octoprint: fixup extraConfig 2016-10-23 19:47:28 +02:00
packagekit.nix
parsoid.nix parsoid service: update, use declarative configuration 2016-11-20 19:12:14 +03:00
phd.nix
plex.nix Merge pull request #21395 from jerith666/plex-firewall 2016-12-24 23:31:04 +01:00
redmine.nix nixos: use types.lines for extraConfig 2016-10-23 19:41:43 +02:00
ripple-data-api.nix
ripple-rest.nix
rippled.nix rippled module: optionSet -> submodule 2016-09-13 12:53:10 +09:00
rogue.nix
siproxd.nix
sonarr.nix
spice-vdagentd.nix
ssm-agent.nix ssm-agent NixOS module: init 2017-02-13 04:01:38 +00:00
sssd.nix sssd: init at 1.14.2 2017-01-04 03:07:20 +03:00
subsonic.nix
sundtek.nix
svnserve.nix svnserve service: network-interfaces.target -> network.target 2016-09-13 11:19:22 +02:00
synergy.nix
uhub.nix
zookeeper.nix zookeeper service: network-interfaces.target -> network.target 2016-09-13 11:19:22 +02:00