Rob Vermaas
98d6ff9cec
Remove -f from elasticsearch ExecStart, not valid anymore.
2014-06-13 14:00:55 +02:00
Rob Vermaas
40566790d3
elasticsearch: run preStart as root, to allow creating the necessary directories.
2014-06-13 13:42:52 +02:00
Eelco Dolstra
29027fd1e1
Rewrite ‘with pkgs.lib’ -> ‘with lib’
...
Using pkgs.lib on the spine of module evaluation is problematic
because the pkgs argument depends on the result of module
evaluation. To prevent an infinite recursion, pkgs and some of the
modules are evaluated twice, which is inefficient. Using ‘with lib’
prevents this problem.
2014-04-14 16:26:48 +02:00
Domen Kožar
52fbaee8d7
solr: add extraJars option
2014-04-03 22:46:45 +02:00
Rickard Nilsson
6a60fc3bdd
solr module: Activate JSP support in Winstone
...
Required by older versions of solr. The JSP support
in Winstone seems spotty, but at one point we'll switch
over to Jetty instead.
2014-03-21 12:04:52 +01:00
Shea Levy
78029b7b0f
Merge branch 'nixos/elasticsearch/elasticsearch_fix' of git://github.com/offlinehacker/nixpkgs
...
nixos/elasticsearch: Make port an integer, add dataDir option, make pure
2014-03-19 18:02:13 -04:00
Rickard Nilsson
3ed3c60d0f
New NixOS module: services.solr, for running a solr server
2014-03-13 00:32:59 +01:00
Jaka Hudoklin
cf65a62af4
nixos/elasticsearch: Make port an integer, add dataDir option, make pure
2014-03-10 11:04:48 +01:00
Zef Hemel
8063382867
Removed unnecessary mkIf
...
The whole block is already wrapped in cfg.enable and this breaks some things.
2013-11-05 08:52:23 +01:00
Eelco Dolstra
862e3dd977
Substitute "types.uniq types.string" -> "types.str"
2013-10-30 14:57:42 +01:00
Eelco Dolstra
a40583e7e4
Fix bogus mkOption types
...
Among others, systemd unit options were not being type-checked because
of this. mkOption should really check its arguments better...
2013-10-28 22:45:56 +01:00
Jaka Hudoklin
fd0d2872a4
nixos/elasticsearch: change loglevel from DEBUG to INFO
2013-10-12 12:43:33 +02:00
Eelco Dolstra
5c1f8cbc70
Move all of NixOS to nixos/ in preparation of the repository merge
2013-10-10 13:28:20 +02:00