1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
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
bepasty.nix
calibre-server.nix
canto-daemon.nix
cfdyndns.nix
cgminer.nix
confd.nix
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
dysnomia.nix
emby.nix
errbot.nix
etcd.nix
felix.nix
folding-at-home.nix
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
gitlab.nix gitlab service: fix database creation 2017-02-13 00:57:22 +01:00
gitlab.xml
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
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-optimise.nix
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
packagekit.nix
parsoid.nix
phd.nix
plex.nix Merge pull request #21395 from jerith666/plex-firewall 2016-12-24 23:31:04 +01:00
redmine.nix
ripple-data-api.nix
ripple-rest.nix
rippled.nix
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
synergy.nix
uhub.nix
zookeeper.nix