Robin Gloster
dc915565ba
gitlab module: workhorse may start before gitlab
2018-09-25 03:53:32 +02:00
Kristoffer Thømt Ravneberg
f17f59ca8e
nixos/gitlab: avoid creating recursive symlinks, add gitlab-rake deps
2018-09-25 03:53:32 +02:00
Jan Malakhovski
3c0cced272
nixos: doc: nixos-manual: fix assert
2018-09-24 21:07:55 +00:00
Eelco Dolstra
9c53116d49
Revert "nixos: set nixos in nixPath"
...
This reverts commit 67c8c49177
.
'nix run nixos.firefox' is *not* supposed to work - the Nix 2.x
interface attempts to standardize on nixpkgs.*, to get rid of the
nixos/nixpkgs confusion that existed with the channels interface. So
let's not bring that confusion back.
2018-09-24 10:42:01 +02:00
Samuel Dionne-Riel
ebf041d4bd
Merge pull request #46193 from oxij/nixos/manual-to-doc
...
nixos: doc: implement #12542
2018-09-24 00:09:23 -04:00
Matthew Bauer
cc72143f7d
Merge pull request #47206 from matthewbauer/add-nixos-to-nixpath
...
nixos: set nixos in nixPath
2018-09-23 18:47:44 -05:00
Jan Malakhovski
0f3b89bbed
nixos: doc: move non-service parts of service.nixosManual
to documentation.nixos
2018-09-23 20:50:47 +00:00
Jan Malakhovski
fe744d3fb1
nixos: doc: rename manual
to manualHTML
, cleanup references
...
Because when I see "config.system.build.manual.manual" after I forgot
what it means I ask "Why do I need that second `.manual` there again?".
Doesn't happen with `config.system.build.manual.manualHTML`.
2018-09-23 20:47:58 +00:00
Matthew Bauer
67c8c49177
nixos: set nixos in nixPath
...
This makes using the nixos channel work out of the box with the new
Nix commands. For example:
$ nix run nixos.firefox -c firefox
Fixes #46536
2018-09-23 00:14:27 -05:00
worldofpeace
a16c6d85a1
nixos/emby: ensure plugins are writeable
2018-09-20 06:35:51 -04:00
rembo10
f1c9d5cf23
Add sickbeard module (with SickGear & SickRage)
2018-09-16 21:54:16 +02:00
rembo10
8d1ad4317c
headphones: init at 0.5.19
2018-09-16 21:48:18 +02:00
Michael Alan Dorman
c76312aea5
airsonic: provide additional jvm configuration
...
This allows the user, among other things, to configure jukebox output
to go to non-default alsa devices.
2018-09-13 20:05:02 -04:00
Maximilian Bosch
18d419141d
nixos/weechat: cleanup module, add module documentation
...
This adds several improvements the previously introduced
`services.weechat` module:
* Dropped `services.weechat.init` as the initialization script can now
be done on package-level since 2af41719bc using the `configure`
function.
* Added `sessionName` option to explicitly configure a name for the
`screen` session (by default: weechat-screen).
* Added `binary` option to configure the binary name (e.g.
`weechat-headless`).
* Added docs regarding `screen` session and `weechat.service`.
2018-09-07 13:45:13 +02:00
Yegor Timoshenko
b54987715b
weechat: add NixOS module
2018-09-07 13:09:08 +02:00
Niklas Hambüchen
31919bce6b
nix-daemon service: Ensure ssh
is on PATH. Fixes #46038 .
...
This fixes a regression introduced in commit
700e21d6da
nix needs ssh on path for the SSH substituter functionality,
not only the distributed builds functionality.
Signed-off-by: Niklas Hambüchen <mail@nh2.me>
2018-09-04 16:19:35 +02:00
Graham Christensen
146f8bac7e
Merge pull request #45911 from samueldr/fix/nixos-help-browser
...
nixos/manual: nixos-help knows about colon-separated BROWSER
2018-09-02 14:30:22 -04:00
Graham Christensen
34d2ec7c09
nixos docs: give IDs to things
2018-09-01 16:20:49 -04:00
Samuel Dionne-Riel
4ff5f304b9
nixos/manual: nixos-help knows about colon-separated BROWSER
...
This is the semantics as understood by `xdg-open`. Using these semantics
on a non-colon-separated variable works because it acts as if it was a
one element long list.
This fixes an issue where it would try to exec
`google-chrome-beta:google-chrome:chromium:firefox` on a system
configured with these semantics in mind.
2018-09-01 13:48:49 -04:00
Tobias Happ
8f0bafcaff
nixos/gitea: fix pre start script ( #44979 )
...
The gitea path is hardcoded in hooks directory in files of paths like:
repositories/<user>/<repo>.git/hooks/update.d/gitea
2018-08-31 16:39:58 +02:00
John Ericson
2c2f1e37d4
reewide: Purge all uses stdenv.system
and top-level system
...
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
Elis Hirwing
a098cc98d9
nixos/gitea: Symlink gitea locales to match running gitea version
...
This prevents issues when gitea adds new locales etc. And if they
change locale values in future versions. Or if you rollback to a
previous version of gitea it might be a good idea to use the previous
locale files.
2018-08-25 09:19:53 +02:00
Michael Raskin
980cbff93c
Merge pull request #45353 from aanderse/redmine
...
redmine: 2.5.2 -> 3.4.6
2018-08-21 14:04:02 +00:00
Aaron Andersen
c93c0f3ae4
removed some local development stuff
2018-08-19 16:41:49 -04:00
Aaron Andersen
bb7568daf7
reworked the redmine service
...
added some security features like database.passwordFile
2018-08-19 16:29:44 -04:00
Aaron Andersen
5984ed283f
started working on bringing the redmine package back to life using gitlab as an example
2018-08-19 08:09:38 -04:00
Silvan Mosberger
eacaaa2161
Merge pull request #44880 from srghma/build-max-jobs-auto
...
nixos/nix-daemon: build-max-jobs, add support to auto
2018-08-18 16:46:08 +02:00
srghma
37e2ebdfbc
nixos/nix-daemon: build-max-jobs, add support to auto
2018-08-18 14:45:12 +03:00
Silvan Mosberger
d3c5a9bf17
Merge pull request #40747 from WhittlesJr/synergy-fix
...
services.synergy: Use graphical target (fixes #9468 )
2018-08-16 16:55:38 +02:00
Alex Whitt
9a63f51454
nixos/synergy: Use graphical target ( fixes #9468 )
2018-08-16 08:53:45 -04:00
Robin Gloster
cb9d784e49
docker-registry: Revert "[bot]: remove unreferenced code"
...
This code was referenced.
This reverts commit 87f5930c3f
.
cc @volth
2018-08-06 16:31:33 +02:00
Sander van der Burg
9748d7c60b
nixos/disnix: undo dysnomia rename to fix disnix and retain compatibility with previous release
2018-08-06 01:25:38 +02:00
Daiderd Jordan
e2a32b747f
Revert "nixos/disnix: fix broken service because of rename"
...
Broke evaluation of the nixos options.
The option `services.dysnomia' defined in `.../nixos/modules/rename.nix' does not exist.
This reverts commit 5c897b4eff
.
2018-08-04 00:26:34 +02:00
Sander van der Burg
5c897b4eff
nixos/disnix: fix broken service because of rename
2018-08-03 22:01:56 +02:00
Andreas Rammhold
17ee0a8662
Merge pull request #44190 from andir/nixos/default-enable-sandboxing
...
nixos/nix-daemon: default `nix.useSandbox` to `true`.
2018-08-01 19:10:45 +02:00
Teo Klestrup Röijezon
6c54cfb280
nixos/gitlab: don't install pg_trgm for remote hosts
...
Fixes #41476
2018-07-30 19:41:12 +02:00
Teo Klestrup Röijezon
e0983f3eec
nixos/gitlab: create uploads folder
...
It seems like Gitlab doesn't pick up GITLAB_UPLOADS_PATH. The internal uploads
folder is already symlinked to /run/gitlab/uploads by the gitlab package. Here
we symlink this further to ${statePath}/uploads, since /run is (usually) a tmpfs.
2018-07-30 19:41:12 +02:00
Teo Klestrup Röijezon
3250b89987
nixos/gitlab: don't delete ${statePath}/lib if it doesn't exist
...
The old behaviour caused new instances to be unable to start
2018-07-30 19:41:12 +02:00
Andreas Rammhold
4f6df27aee
nixos/nix-daemon: default nix.useSandbox
to true
.
2018-07-29 16:47:10 +02:00
Tuomas Tynkkynen
96190535e5
Revert "nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1"
...
This reverts commit 095fe5b43d
.
Pointless renames considered harmful. All they do is force people to
spend extra work updating their configs for no benefit, and hindering
the ability to switch between unstable and stable versions of NixOS.
Like, what was the value of having the "nixos." there? I mean, by
definition anything in a NixOS module has something to do with NixOS...
2018-07-28 00:12:55 +03:00
Jörg Thalheim
e9ff0f9448
Merge pull request #43863 from volth/unused4
...
[bot] nixos/*: remove unused arguments in lambdas
2018-07-21 16:39:08 +01:00
volth
2e979e8ceb
[bot] nixos/*: remove unused arguments in lambdas
2018-07-20 20:56:59 +00:00
volth
dda95bae35
[bot] treewide: remove unused 'args@' in lambdas
2018-07-20 19:54:05 +00:00
Frederik Rietdijk
1a6af9f88e
Merge pull request #43857 from volth/unused
...
[bot] treewide: remove unreferenced code
2018-07-20 21:06:32 +02:00
volth
87f5930c3f
[bot]: remove unreferenced code
2018-07-20 18:48:37 +00:00
Robert Schütz
55a12c9763
nixos/home-assistant: do not always override extraComponents ( #43845 )
...
Fixes #43843 .
2018-07-20 19:28:29 +02:00
William Casarin
6c1eb15a3b
nixos/modules: add clipmenu user service
...
add a clipmenud daemon user service
2018-07-15 12:22:46 -07:00
Silvan Mosberger
59b3ce2894
Merge pull request #42398 from Ma27/make-autorandr-target-configurable
...
nixos/autorandr: make default target in systemd service configurable
2018-07-05 15:10:22 +02:00
Maximilian Bosch
8325996621
nixos/autorandr: make default target in systemd service configurable
...
The `.service` file defining the `systemd` unit for `autorandr.service`
which is bundled with the package itself uses `--default default` in the
`ExecStart` section. This can be an issue when having multiple layouts
(e.g. `default` as workstation layout I mostly work on and `mobile` when
I go somewhere else).
When the service gets restarted and `--default` can't be applied,
however the current layout can't be detected (e.g. when working with an
unknown beamer) the service silently fails with a message like this:
```
Jun 22 18:44:46 hauptshuhle autorandr[3168]: /nix/store/h83b72ffm68nm8fyjnppljchp456a94r-xrandr-1.5.0/bin/xrandr: ca>
Jun 22 18:44:46 hauptshuhle autorandr[3168]: Failed to apply profile 'default' (line 718):
Jun 22 18:44:46 hauptshuhle autorandr[3168]: Command failed: /nix/store/h83b72ffm68nm8fyjnppljchp456a94r-xrandr-1.>
```
As discussed in the IRC (see https://botbot.me/freenode/nixos/2018-07-05/?msg=101791455&page=6 )
it's a bad long-term solution in terms of maintenance to manually patch
the service file bundled with the derivation, instead the service shall
be configured declaratively. Additionally this makes possible overrides
from the user-space way easier.
The `udev` rule (in `$out/etc/udev/rules.d`) won't' be affected, it
simply runs `systemctl start autorandr.service` when e.g. a new display
is added, so now `udev` communicates with the NixOS systemd unit.
2018-07-05 14:39:08 +02:00
Jörg Thalheim
32e982448d
gpsd: use optionalString
2018-07-03 13:55:27 +01:00
Richard Marko
57ed52d61f
nixos/gpsd-service: add services.gpsd.nowait option
2018-07-03 00:40:57 +02:00
Florian Klink
fff5923686
nixos/modules: users.(extraUsers|extraGroup->users|group)
2018-06-30 03:02:58 +02:00
Matthew Justin Bauer
31021701ac
Merge pull request #41478 from bluescreen303/docker-registry
...
Small improvements to the docker registry module
2018-06-20 21:45:56 -04:00
Franz Pletz
8eaff5b06a
xmr-stak service: support multiple config files
2018-06-19 18:07:41 +02:00
Brandon Elam Barker
f098e60ecf
nixos/sandbox: improve documentation.
...
This was put together based on feedback from LnL on IRC.
2018-06-07 21:43:52 +01:00
Mathijs Kwik
c4fd2b7318
nixos/docker-registry: allow running on ports < 1024
2018-06-06 22:26:26 +02:00
Mathijs Kwik
5f1ad29340
nixos/docker-registry: allow nested config options
...
for example:
services.dockerRegistry = {
enable = true;
extraConfig = {
http = {
host = "https://${config.networking.hostName}:5000 ";
tls = {
certificate = "${registry-tls}/snakeoil.pem";
key = "${registry-tls}/snakeoil.key";
};
};
};
};
2018-06-05 11:26:02 +02:00
Thomas Kerber
61f5b9d6c4
nixos/gitea: Respect gitea-dump enable option. ( #41437 )
2018-06-04 08:41:20 +02:00
Tobias Happ
28c20a4731
nixos/gitea: fix pre start script
...
The hooks directory contains now one level deep subdirectories which
need to be updated as well.
If you use gitea via ssh, ~/.ssh/authorized_keys also needs to be
updated because of the hardcoded path to gitea in the "command" option.
2018-05-29 19:53:12 +02:00
Jan Malakhovski
ad35019501
Merge branch 'master' into staging
...
Fixed conflicts:
- lib/systems/for-meta.nix: in favor of staging
- pkgs/os-specific/darwin/xcode/default.nix: in favor of master
2018-05-26 00:20:17 +00:00
Tuomas Tynkkynen
696c6bed4e
w3m: Add a variant without graphics support and use for NixOS manual
...
This gets rid of various graphics libraries from the minimal installer.
2018-05-25 01:55:51 +03:00
Robin Gloster
53475653a5
gitlab module: update for 10.8
2018-05-24 04:40:46 +02:00
Tuomas Tynkkynen
f9feacfc7c
Merge remote-tracking branch 'upstream/master' into staging
2018-05-22 17:48:29 +03:00
Robin Gloster
852fa6b86f
home-assistant module: add openFirewall option
2018-05-22 14:29:57 +02:00
John Ericson
db4d77779c
Merge remote-tracking branch 'upstream/master' into staging
2018-05-21 20:21:48 -04:00
Daniel Peebles
0598652303
Stop requiring the nixpkgs symlink in NixOS channel tarballs
...
Ideally I'd like the whole `nixos`/`nixpkgs` channel distinction to disappear, but this is a step along that path. After a while being in this state, we can stop creating the magic `nixpkgs -> .` symlink inside our `nixos` channel tarballs and simplify that whole mess a bit.
2018-05-21 16:41:03 -04:00
Elis Hirwing
ce42182d13
nixos/gitea: Add options to enable a timer with optional interval
...
This will run gitea dump and create a backup file for gitea every so
often as the interval is defined to do.
2018-05-20 10:49:24 +02:00
Elis Hirwing
e166aee826
nixos/gitea: Allow customizing derivation to use
2018-05-20 10:49:23 +02:00
John Ericson
ddbe9191ef
Merge remote-tracking branch 'upstream/master' into staging
...
Keep the dontCheck because the test suite fails, get rid of the LDFLAGS
hack because we don't need it!
2018-05-16 15:16:08 -04:00
Andreas Rammhold
8a93595550
sysprof: 1.2.0 -> 3.28.1
2018-05-16 16:54:12 +02:00
John Ericson
8e891e6ed4
Merge remote-tracking branch 'upstream/master' into staging
2018-05-14 10:57:33 -04:00
xeji
c482b41f40
Merge pull request #40373 from xeji/fix-mesos-test
...
nixos/mesos: fix non-deterministic service and test failure
2018-05-13 19:57:24 +02:00
Frederik Rietdijk
658b7c3f2e
Merge master into staging
2018-05-13 12:13:25 +02:00
Jan Malakhovski
095fe5b43d
nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1
2018-05-12 19:27:09 +00:00
Uli Baum
ec00b6fbb3
nixos/mesos-slave: start after docker
...
If docker is enabled, start mesos-slave.service after docker.service
to avoid a race condition that could result in mesos-slave to fail
with "Failed to create docker: Timed out getting docker version"
2018-05-11 19:37:31 +02:00
Matthew Bauer
6748534d83
Merge remote-tracking branch 'upstream/master' into staging
2018-05-08 09:36:00 -05:00
Tristan Helmich
560e91f1a7
nixos/matrix-synapse service: url_preview_url_blacklist fix ( #40027 )
...
Moved list of ip ranges to url_preview_ip_range_blacklist defaults.
Fixes #40017
2018-05-06 09:49:04 +00:00
John Ericson
cf06e42d1c
Merge remote-tracking branch 'upstream/master' into staging
2018-05-03 16:35:36 -04:00
Matthew Justin Bauer
eeb016e8f0
Merge branch 'staging' into fix-ncurses-darwin-extensions
2018-05-02 15:40:38 -05:00
Robin Gloster
fe9096ef09
Merge branch 'master' into docker-registry-enhancements
2018-05-02 13:12:57 +02:00
Michele Catalano
afd3136e8e
nixos/docker-registry: Add support for garbage collector to docker registry
2018-05-01 15:23:47 +02:00
Maximilian Bosch
593dc45141
nixos/docker-registry: cleanup module definition & enhance testcase
...
The following changes have been applied:
- the property `http.headers.X-Content-Type-Options` must a list of
strings rather than a serialized list
- instead of `/etc/docker/registry/config.yml` the configuration will be
written with `pkgs.writeText` and the store path will be used to run
the registry. This reduces the risk of possible impurities by relying
on the Nix store only.
- cleaned up the property paths to easy readability and reduce the
verbosity.
- enhanced the testcase to ensure that digests can be deleted as well
- the `services.docker-registry.extraConfig` object will be merged with
`registryConfig`
/cc @ironpinguin
2018-05-01 15:23:39 +02:00
Michele Catalano
f5c0b3f887
nixos/docker-registry: add more configuration options for docker-registry
2018-05-01 14:53:50 +02:00
Graham Christensen
5d03cce7ed
Merge pull request #38351 from grahamc/user-channels
...
Add user channels to the default nix path
2018-05-01 07:19:38 -04:00
Graham Christensen
8ab8d9cb74
Add user channels to the default nix path
2018-05-01 06:30:31 -04:00
Graham Christensen
d1165dba99
Merge pull request #38831 from rdnetto/improve-cross-refs
...
Improve cross referencing in NixOS Manual
2018-04-30 21:30:20 -04:00
Peter Hoeg
c3c695183c
nix-optimise: do not run in container
2018-04-27 15:09:48 +08:00
Robin Gloster
783fb86de4
gitlab module: update to gitlab 10.7
2018-04-26 00:15:24 +02:00
Matthew Justin Bauer
a4a2626cd9
Merge pull request #35280 from markus1189/logkeys
...
Logkeys: Update and add `device` option to service
2018-04-25 14:48:29 -05:00
Peter Hoeg
45f1205bab
Merge pull request #39304 from peterhoeg/f/ha
...
home-assistant: add a few knobs and make config YAML
2018-04-25 01:35:12 +00:00
Robert Schütz
e4a6e320bb
home-assistant: simplify definition of configFile
2018-04-24 20:49:16 +02:00
Will Dietz
fa1d1eec6e
nixos/nix-daemon: optionally (on by default) check nix.conf can be read
...
* checks using package providing the nix-daemon that we'll be using
* made optional (unlike some other config checks) "just in case":
since this requires running the new Nix on the builder, this
won't work in a few (AFAIK very uncommon) situations such as
cross-compiling NixOS or using `include` directives in nix.conf
This does rely on Nix2 but not by the builder.
Since we only offer Nix2+ in-tree this should be fine,
and may otherwise be required anyway.
2018-04-24 10:16:57 -05:00
Peter Hoeg
b886faa6b6
home-assistant: use remarshal to convert configuration to YAML
...
HA doesn't mind the configuration being JSON instead of YAML but since YAML is
the official language, use that as it allows users to easily exchange config
data with other parties in the community.
2018-04-23 16:53:13 +08:00
Peter Hoeg
4cd88807d8
home-assistant: make port configurable so we can use it elsewhere
...
Additionally, some settings based on NixOS configuation is set via defaultConfig
which is then merged with the user provided configration.
For now that just means http port and time zone but others can easily be added.
2018-04-23 16:53:12 +08:00
Wout Mertens
77a1993b46
Merge pull request #38918 from gnidorah/gitweb
...
nixos/gitweb: add gitwebTheme option
2018-04-20 21:32:34 +02:00
John Ericson
53686e8995
Merge pull request #38485 from obsidiansystems/nixos-nixpkgs-options
...
nixpkgs module: Clean up platform options
2018-04-19 14:59:58 -04:00
gnidorah
9029ed933c
nixos/gitweb: add gitwebTheme option
2018-04-17 20:07:01 +03:00
Matthew Justin Bauer
9e01411a7c
Merge pull request #37515 from MHOOO/patch-2
...
Fix permission on working directory
2018-04-17 10:40:49 -05:00
Reuben D'Netto
42a84598fb
Added cross-references to NixOS manual
2018-04-12 09:39:14 +10:00
BjornMelgaard
46c270c5a6
safeeyes: restart only on failure
2018-04-10 21:19:13 +03:00
BjornMelgaard
2f4a220130
safeeyes: add module
2018-04-10 21:19:13 +03:00
Wout Mertens
d55e830982
Merge pull request #38527 from gnidorah/gitweb
...
nixos/nginx: fix gitweb submodule
2018-04-07 14:39:51 +02:00
gnidorah
073089914e
nixos/nginx: fix gitweb submodule
2018-04-06 22:36:03 +03:00
John Ericson
c6f7d43678
nixpkgs module: Clean up platform options
...
- `localSystem` is added, it strictly supercedes system
- `crossSystem`'s description mentions `localSystem` (and vice versa).
- No more weird special casing I don't even understand
TEMP
2018-04-06 12:41:44 -04:00
Michael Raskin
b07ce1fb74
Merge pull request #38114 from oxij/nixos/doc-module
...
nixos: doc module
2018-04-05 07:09:32 +00:00
Michael Raskin
195521350a
Merge pull request #38111 from oxij/tree/cleanups
...
assorted cleanups
2018-04-05 07:08:05 +00:00
Eelco Dolstra
0236a947d0
mkdir -> install -d
...
Fixes #38421 .
2018-04-04 13:04:35 +02:00
Nikolay Amiantov
37546be900
nodePackages.parsoid: pin service-runner to 2.3.0
...
service-runner had a backwards incompatible update, and parsoid 0.9.0
doesn't work with current stable MediaWiki. Instead use as a source
a repository with 0.8.0 and pinned service-runner version.
2018-04-02 22:38:40 +03:00
Léo Gaspard
b59570eac0
nixos/gogs: allow git operations over ssh
...
Without `ROOT_PATH` set, `gogs serv` tries to open logs in writing in
its store directory. This blocks cloning or pushing over ssh, and
results in a gogs internal error.
2018-03-30 16:37:36 +02:00
Jan Malakhovski
02da27de52
nixos: dysnomia: move into services
subtree
2018-03-30 06:56:12 +00:00
Jan Malakhovski
98fd9b7f86
nixos: doc: introduce documentation
config subtree
2018-03-30 06:52:26 +00:00
gnidorah
2821d3fed7
gitweb: use common options
2018-03-29 16:45:32 +03:00
Matthew Justin Bauer
779c25b2fe
Merge pull request #34053 from thpham/serviio
...
serviio: init at 1.9
2018-03-22 11:11:17 -05:00
Franz Pletz
e5a854e740
gitlab service: use recommended unicorn config
2018-03-22 02:29:28 +01:00
Simon Lackerbauer
1b55905806
gitlab: 10.3.4 -> 10.5.4
2018-03-22 02:29:28 +01:00
Robin Gloster
31d77fd4f3
gitlab-shell: fix config path finding
...
and remove TimeoutSec for gitlab
2018-03-22 02:29:27 +01:00
Thomas Karolski
e5073bcb80
Fix permission on working directory
...
The working directory needs the x flag, otherwise executors (e.g. sparks executor) are unable to cd into their sandbox and create e.g. temporary files.
2018-03-21 02:26:04 +01:00
Eelco Dolstra
7db841512a
Remove obsolete /nix/var/nix/{manifests,channel-cache}
2018-03-20 18:26:13 +01:00
Peter Hoeg
2859483fe9
nixos home-assistant: a couple of fixes ( #36338 )
...
a) set path to /run/wrappers so ping works
b) run via a target so we can easily inject other components (config copier,
appdaemon)
2018-03-18 12:46:36 +01:00
Elis Hirwing
fa76c9a385
gitea: fix usage over ssh
...
Using gitea over ssh had two isses:
1. No shell was set for the user
2. Gitea tried to write logs to
/nix/store/x83q12kyd9gw1pay036dxz2dq0apf17h-gitea-1.3.2-bin/log when
serving the ssh usage.
2018-03-18 10:11:02 +01:00
Tuomas Tynkkynen
ef64208eba
Merge commit '3ab2949' from staging into master
...
Conflicts:
pkgs/development/compilers/llvm/6/llvm.nix
pkgs/servers/home-assistant/component-packages.nix
2018-03-15 22:30:56 +02:00
Elis Hirwing
1ad75d0c50
gitea: enable and configure postgres service if selected as database
2018-03-15 18:34:54 +01:00
Jan Malakhovski
7079e744d4
Merge branch 'master' into staging
...
Resolved the following conflicts (by carefully applying patches from the both
branches since the fork point):
pkgs/development/libraries/epoxy/default.nix
pkgs/development/libraries/gtk+/3.x.nix
pkgs/development/python-modules/asgiref/default.nix
pkgs/development/python-modules/daphne/default.nix
pkgs/os-specific/linux/systemd/default.nix
2018-03-10 20:38:13 +00:00
Vladimír Čunát
b70c93f211
Merge branch 'master' into nix-2.0
2018-03-03 18:02:35 +01:00
Shea Levy
fec543436d
nixos: Move uses of stdenv.shell to runtimeShell.
2018-03-01 14:38:53 -05:00
Shea Levy
5ff15fbf7d
Merge branch 'nix-ssh-ng'
2018-02-28 17:04:19 -05:00
Shea Levy
4de72b90f3
nixos: nix.sshServe: Support ssh-ng.
2018-02-28 16:55:00 -05:00
Sander van der Burg
8fbfd67f1f
disnix module: make dbus service configurable
2018-02-28 21:29:24 +01:00
Eelco Dolstra
212dd84dd2
Cleanup
2018-02-27 20:03:12 +01:00
Markus Hauck
1c3c80360b
logkeys.service: Add 'device' option
2018-02-21 18:16:14 +01:00
Will Dietz
e5e29284a9
webos: init novacom, novacomd, cmake-modules; add nixos service
2018-02-20 10:34:19 -06:00
Jan Malakhovski
2e6b796761
nixos: rename config.system.nixos* -> config.system.nixos.*
2018-02-18 12:56:30 +00:00
Jörg Thalheim
7914e6be3e
Merge pull request #34655 from markus1189/zookeeper-package-option
...
zookeeper.service: option for package and add to environment
2018-02-10 09:54:12 +00:00
Frederik Rietdijk
c0f6aac818
Merge pull request #34574 from dotlambda/home-assistant
...
nixos/home-assistant: support platform=... scheme for autoExtraComponents
2018-02-08 10:53:35 +00:00
Thomas Pham
f0bafef6a1
add Serviio Media server package and service
2018-02-07 20:45:30 +01:00
Markus Hauck
77218de812
zookeeper.service: option for package and add to environment
2018-02-06 09:59:01 +01:00
David McFarland
fbba0d0ee5
matrix-synapse: default server_name to hostname
2018-02-04 21:22:55 -04:00
David McFarland
a4b7de74a5
matrix-synapse: default to postgresql on 18.03
2018-02-04 21:22:55 -04:00
David McFarland
1472fa8685
matrix-synapse: create and connect to local postgresql db
2018-02-04 21:22:54 -04:00
Robert Schütz
59eb19224b
nixos/home-assistant: support platform=... scheme for autoExtraComponents
...
See https://home-assistant.io/components/sensor.luftdaten/ for an example component using that scheme.
2018-02-04 11:09:55 +01:00
adisbladis
7ebb82e04f
home-assistant: Fix incorrect xml closing tag
2018-02-03 16:54:02 +08:00
Robert Schütz
78c2ca326e
home-assistant: compute extraComponents from config
2018-02-02 09:48:50 +01:00
Frederik Rietdijk
d30735f889
Merge pull request #34188 from dotlambda/home-assistant
...
home-assistant: init at 0.62.1
2018-02-01 08:44:48 +00:00
Eelco Dolstra
700e21d6da
nix-daemon.nix: Updates for Nix 2.0
...
* The environment variables NIX_CONF_DIR, NIX_BUILD_HOOK and
NIX_REMOTE are no longer needed.
* A /bin/sh (from busybox) is provided by default in sandboxes.
* Various options were renamed.
2018-01-31 22:26:05 +01:00
Robert Schütz
bacbc48cfe
home-assistant: add NixOS module
2018-01-31 12:30:31 +01:00
Johannes Bornhold
a88b4d4db1
nixos/matrix-synapse: Add module parameter extraConfigFiles ( #33276 )
...
This allows to configure additional configuration files for Synapse. This way
secrets can be kept in a secure place on the file system without a need to go
through the Nix store.
2018-01-07 20:13:48 +00:00
Robin Gloster
e606bb252b
gitlab module: config changes for gitlab 10.3
2018-01-07 05:02:56 +01:00
Robin Gloster
69c396f273
gitlab module: gitaly fixes
2018-01-07 05:02:35 +01:00
Orivej Desh
b249907d04
Merge pull request #33197 from bgamari/gitlab-jws-fix
...
gitlab: Rename jws_private_key to openid_connect_signing_key
2018-01-06 03:08:57 +00:00
Ben Gamari
b95cdd4f6c
gitlab: Rename jws_private_key to openid_connect_signing_key
...
See
24d56df29b
2017-12-29 22:11:04 -05:00
Robin Gloster
c4036762b2
gitlab: remove unnecessary assertion
...
It also gives less information than the error from the module system.
2017-12-26 01:11:16 +01:00
Yegor Timoshenko
f89bc2718b
Merge pull request #32995 from NixOS/yegortimoshenko-patch-1
...
mbpfan: improve description, resolves #32266
2017-12-23 17:31:13 +03:00
Yegor Timoshenko
ca7472b1a7
mbpfan: improve description, resolves #32266
2017-12-23 14:28:37 +00:00
Silvan Mosberger
0b0df8f9cf
nixos/logkeys: fix evaluation
2017-12-23 01:44:14 +00:00
Bjørn Forsman
7c481aa7c1
nixos/gitolite: copy hooks with force
...
This makes the commonHook option work also for (read-only) Nix store
paths. Currently it fails on the second activation, because the
destination is read-only.
2017-12-21 08:41:59 +01:00
Sander van der Burg
9cee2e5c95
dysnomia module: use postgres as default user and always publish container properties
2017-12-20 21:45:07 +01:00
Franz Pletz
2754d1a8c3
xmr-stak module: init
2017-12-14 16:03:09 +01:00
Joachim F
1541211c31
Merge pull request #32261 from erictapen/osrm-module
...
osrm service: init
2017-12-07 21:32:42 +00:00
Justin Humm
bfc3844a15
osrm service: init
2017-12-07 18:51:39 +01:00
Pierre-Etienne Meunier
3b79220a41
nixos/gollum: enable emoji and file uploads ( #32373 )
2017-12-06 09:10:54 +00:00
Pierre-Etienne Meunier
8e97f8fac4
nixos/gollum: Add optional MathJax support ( #32338 )
2017-12-05 12:20:31 +00:00
Ruben Maher
50777e5702
nixos/matrix-synapse: remove unused log_file config
2017-11-20 09:29:45 +10:30
Ruben Maher
86e161ff47
nixos/matrix-synapse: make home directory configurable
2017-11-19 13:48:29 +10:30
Renaud
1503409aac
Merge pull request #30943 from csingley/nzbget
...
nzbget.service override nzbget.conf broken paths with current derivation
2017-11-11 22:04:29 +01:00
Márton Boros
c556c72a2e
nixos/gitlab: fix secret generation
...
This line previously produced an error and an empty secret file.
2017-10-30 12:49:27 +01:00
Márton Boros
00c03e9003
nixos/gitlab: fix preStart script
2017-10-30 12:49:27 +01:00
Márton Boros
29e80bde40
nixos/gitlab: fix hard-coded database name
2017-10-30 12:49:27 +01:00
Christopher Singley
b2c2944998
nzbget.service override nzbget.conf broken paths with current derivation
2017-10-29 19:37:56 -05:00
Christopher Singley
95dc36235c
PlexPy service
2017-10-29 19:29:25 -05:00
Linus Heckemann
b2c5075e8a
nixos-manual service: show nixos-help option
...
Part of improving accessibility (#30760 ). Makes the manual easier to
access e.g. on serial consoles.
2017-10-25 10:16:15 +01:00
Márton Boros
a89b28f8b7
nixos/gitlab: fix startup script
...
The preStart script used a hardcoded "git" user instead of the cfg value.
2017-10-22 15:23:25 +02:00
Simon Lackerbauer
414720709b
gitlab-module: fix hooks links for older repositories
2017-10-22 14:28:56 +02:00
Joachim F
3c62474d08
Merge pull request #30528 from disassembler/gitea
...
gitea: init at 1.2.1
2017-10-20 14:01:54 +00:00
Michael Peyton Jones
281bf1dded
tzupdate service: init
2017-10-19 05:15:32 +01:00
Samuel Leathers
66201d49bb
gitea: add nixos service module
2017-10-18 12:50:36 -04:00
Markus Mueller
60b0db0e08
gitlab: link tmp/ directory to writable path
2017-10-16 14:58:02 +02:00
Markus Mueller
f250015ea3
nixos/gitlab: fix uploades directory permissions
2017-10-16 14:58:02 +02:00
Shaun Sharples
caee93f3d4
Fix warning about unknown escape sequences
...
systemd warns about:
Ignoring unknown escape sequences: "/nix/store/8f0l1w9g7iv2gz63xzsxfl66ri1cfbkl-plex-1.9.5.4339/usr/lib/plexmediaserver/Plex\ Media\ Server
From a discussion on the forums it seems the 'sh -c' is not needed:
https://forums.plex.tv/discussion/216757/ubuntu-16-04-executable-path-contains-special-characters-error-with-systemd
2017-10-12 19:44:58 +02:00
Peter Hoeg
c640e790d5
pykms: nixos module
2017-10-12 08:51:34 +08:00
Frank Doepper
08bf000fe2
nix-daemon: mention speedFactor in example
2017-10-10 15:07:35 +02:00
Alexander Foremny
03a5d729ef
nixos/gitlab: fix gitlab service
...
Fix GitLab service and update documentation. Fixes #30059 .
2017-10-04 02:40:07 +02:00
Bob van der Linden
9d841295f3
gogs: avoid creating symlinks each run
2017-10-02 22:11:46 +02:00
The-M1k3y
0f2b46cdba
nixos/gogs: fixed user creation if non-default user
2017-10-02 15:53:30 +02:00
Robin Gloster
57ed9e7e1d
gitlab: 9.5.5 -> 10.0.2
2017-09-28 23:14:31 +02:00
Eelco Dolstra
79d547b4bb
nix-daemon: Bump the default number of build users
...
While it's annoying to pollute the user database with a lot of nixbld*
users, 10 users is really too low for many modern systems.
2017-09-27 17:13:16 +02:00
Pavel Goran
cee657f9a3
nixos/gitolite: add enableGitAnnex option
2017-09-25 22:03:00 +02:00
Bjørn Forsman
3a58e41e43
nixos/gitolite: use group 'gitolite' instead of 'nogroup'
...
Having files (git repositories) owned by 'nogroup' is a bad idea.
2017-09-23 16:33:52 +02:00
Pavel Goran
c73a3813fa
nixos/gitolite: customize .gitolite.rc declaratively
...
Add the `extraGitoliteRc` option to customize the `.gitolite.rc`
configuration file declaratively.
Resolves #29249 .
2017-09-22 18:29:35 +02:00
Robin Gloster
e2822f6384
gitlab: 9.5.2 -> 9.5.5
2017-09-21 20:26:12 +02:00
Robin Gloster
370ac6275e
gitlab module: fix shell hook path
2017-09-20 23:51:26 +02:00
Justin Humm
b5a5d0ba84
gollum service: init
2017-09-18 11:55:00 +02:00
Rodney Lorrimar
6460e459de
nixos/gogs: Fix module when no passwords provided
...
If neither database.password or database.passwordFile were provided,
it would try and fail to coerce null to a string.
This fixes the situation where there is no password for the database.
Resolves #27950
2017-09-17 18:41:53 +02:00
Jaka Hudoklin
1adaad1371
Merge pull request #28927 from xtruder/nixos/logkeys/init
...
logkeys module: init
2017-09-16 16:23:13 +02:00
Tuomas Tynkkynen
0c368ef02f
treewide: Escape backslash in strings properly
...
"\." is apparently the same as "." wheras the correct one is "\\."
2017-09-14 01:03:39 +03:00
Robin Gloster
f5e0e94b2a
nixos/redmine: fix create role
...
postgresql create role no longer supports NOCREATEUSER option. See
https://www.postgresql.org/docs/9.6/static/release-9-6.html for
details.
2017-09-13 21:55:50 +02:00
Bjørn Forsman
6b9ee30672
nixos/gitolite: don't leak nix store hash into gitolite-admin username/key
...
It doesn't look good when the initial admin user is named
"<hash>-gitolite-admin" and the key stored as
"<hash>-gitolite-admin.pub". Instead, make it simply "gitolite-admin"
and "gitolite-admin.pub".
2017-09-12 10:56:11 +02:00
pvgoran
4c4f73c0eb
services.gitolite: Add RequiresMountsFor unit option ...
...
... to ensure that the filesystem where `dataDir` resides is mounted when we do initialization or upgrade.
2017-09-12 02:03:51 +07:00
Franz Pletz
2f48144d0e
gitlab: 9.4.5 -> 9.5.2
2017-09-03 15:50:52 +02:00
The Admin
cdb0038052
logkeys module: init
2017-09-03 12:52:57 +02:00
Robin Gloster
eedffc5277
gitlab module: fix permissions and path
2017-09-02 23:31:26 +02:00
Robin Gloster
aaff3fa5f3
gitlab module: fix postgres superUser
...
(cherry picked from commit edd8265c36
)
2017-09-02 23:30:53 +02:00
Robin Gloster
45605db3e0
gitlab: fix postgres calls
2017-09-02 23:30:49 +02:00
Robin Gloster
0156db2da5
Merge remote-tracking branch 'upstream/master' into HEAD
2017-09-02 23:29:04 +02:00
Ryan Mulligan
39a982dc3e
nixos/calibre-server: fix ExecStart call
...
calibre-server changed the way you specify the library from using
--with-library to just allowing the directory to be specified. See
https://manual.calibre-ebook.com/generated/en/calibre-server.html for
details.
2017-08-30 21:14:45 -07:00
Vladimír Čunát
2858c41823
Merge branch 'master' into staging
...
There were some conflicts in python modules, commented at #28314 .
2017-08-29 10:51:54 +02:00
Jörg Thalheim
3ba09a8e2c
nixos/airsonic: remove full-path commands from preStart
...
systemd services are initialised with a default PATH.
This path includes coreutils.
2017-08-25 23:18:46 +01:00
Jörg Thalheim
6905e59e25
nixos/airsonic: change script to serviceConfig.ExecStart
...
- shell invocation is not necessary here
2017-08-25 23:18:46 +01:00
Frederik Rietdijk
997043c137
bepasty: move out of python-packages
...
because its a (web) application and thus doesn't belong there.
2017-08-25 19:36:18 +02:00
Samuel Leathers
85329b96e0
nixos/airsonic: add module
2017-08-23 13:06:28 -04:00
Robin Gloster
79ac09ea06
ripple-rest: remove
...
marked as broken for > 1 yr, development is frozen and author recommends
moving to https://github.com/ripple/ripple-lib
2017-08-12 13:38:32 +02:00
Joel Thompson
168fbde17a
exhibitor: Fix bug with automatic instance management
...
Exhibitor tests the auto-manage-instances config value to see if it's a
non-zero integer, rather than a true/false string, which was getting
put into the config before. This now causes autoManageInstances to
behave correctly.
2017-07-28 15:54:48 -04:00
Peter Hoeg
588e3da3f4
Merge pull request #26761 from gnidorah/master3
...
qt5ct module: expose qtstyleplugins
2017-07-26 22:44:45 +08:00
Nikolay Amiantov
358abce837
autofs service: fix the manual
...
Fixes #27202 .
2017-07-26 15:24:43 +03:00
Jörg Thalheim
97544a6c38
Merge pull request #27627 from volth/zookeeper-escape-shell
...
nixos/zookeeper: escape cfg.extraCmdLineOptions
2017-07-25 07:46:05 +01:00
Volth
f2bfb459c4
nixos/zookeeper: escape cfg.extraCmdLineOptions
2017-07-24 22:27:58 +00:00
gnidorah
9f61c7f947
qt5ct module: expose qtstyleplugins
2017-07-23 12:56:04 +03:00
Joel Thompson
9dc51dc00d
exhibitor: Fix bugs in previous package
...
The previous package didn't build properly due to a bug in the build
script, and the nixos module didn't evaluate due to missing descriptions
in the options. This fixes both issues.
It also adds missing command-line options that weren't able to be set
and properly converts bools to the strings exhibitor expects.
2017-07-21 16:14:04 -04:00
Joel Thompson
4b42fc4b8a
exhibitor: init at 3.4.9
...
Initial Exhibitor nix package and nixos module for Netflix's Exhibitor,
which is a manager for Apache Zookeeper.
2017-07-21 09:45:37 -04:00
Daiderd Jordan
a03d6116ce
gitlab: fix archive urls for gitlab service
...
Accessing an url like https://gitlab.example.org/group/project/repository/archive.tar.gz?ref=master
requires tar/gzip to be in the path of the gitlab-workhorse service otherwise it fails.
2017-07-19 21:34:17 +02:00
Graham Christensen
6b879ef36e
Merge pull request #23964 from benley/nixos-manual-launcher
...
nixos: nix snowflake logo for the nixos manual launcher
2017-07-16 16:28:30 -04:00
aszlig
b618843860
nixos/taskserver: Fix manual PKI management
...
The helper tool had a very early check whether the automatically created
CA key/cert are available and thus it would abort if the key was
unavailable even though we don't need or even want to have the CA key.
Unfortunately our NixOS test didn't catch this, because it was just
switching from a configuration with an automatically created CA to a
manual configuration without deleting the generated keys and certs.
This is done now in the tests and it's also fixed in the helper tool.
Reported-by: @jpotier
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2017-07-16 20:38:15 +02:00
Christian Kögler
e8a8f1233a
snapper: add nixos module
...
fixes #27154
2017-07-16 10:06:42 +01:00
Bjørn Forsman
8a35f751d1
nixos/spice-vdagentd: remove needless shell
2017-07-14 16:28:25 +02:00
roblabla
0c7c421baa
gitlab: 8.17.6 -> 9.3.4
2017-07-06 13:29:49 +02:00
Daiderd Jordan
c0cdf58807
plex: fix preStart permissions
2017-06-24 18:48:47 +02:00
Robin Gloster
c5467a16c4
errbot module: needs network-online to connect properly
2017-06-12 17:44:42 +02:00
Vladimír Čunát
32916ab1de
Merge older staging
...
Enough rebuilds have finished on Hydra now.
2017-06-11 09:01:08 +02:00
gnidorah
5c9f0d00c3
autorandr: 855c18b -> 1.1
2017-06-07 13:23:36 +03:00
gnidorah
a996fe849f
fstrim: Add service
2017-05-30 16:39:27 +03:00
Franz Pletz
02bb7c2ec0
Revert "gitlab service: fix preStart script"
...
This reverts commit 31a5e065b0
.
See #26000 .
2017-05-23 00:06:00 +02:00
Samuel Leathers
31a5e065b0
gitlab service: fix preStart script
2017-05-22 22:07:35 +02:00
Franz Pletz
4ec09476f2
matrix-synapse service: restart on failure
2017-05-21 01:16:41 +02:00
Pascal Bach
1541140473
emby service: allow changing data directory
2017-05-20 09:56:06 +02:00
Michał Pałka
8aa756b64a
gitlab service: fix uploading artifacts from gitlab-runner
...
Add the binaries from gitlab-workhorse to the path of the
gitlab-workhorse service, as gitlab-zip-metadata is needed
by the service
2017-05-12 06:52:33 +00:00
Peter Simons
71ae259627
nixos: revert changes from 3ab45f4b36
in taskserver module
...
See 3ab45f4b36 (commitcomment-22029298)
.
Fixes https://github.com/NixOS/nixpkgs/issues/25529 (I hope).
2017-05-06 19:50:02 +02:00
Michael Raskin
938fbf6873
Merge pull request #25116 from rvl/gogs
...
Gogs service password handling improvements
2017-05-01 14:26:22 +02:00
Jörg Thalheim
036e0f114a
gogs: improve cookieSecure documentation
2017-05-01 11:37:12 +02:00
Joachim F
38c98d1072
Merge pull request #25128 from jb55/fix/plex-startup
...
plex: fix startup issue
2017-04-28 12:48:55 +01:00
Edward Tjörnhammar
45470c65f5
nixos: static ids for jackett, radarr, sonarr
2017-04-25 12:08:21 +02:00
Rodney Lorrimar
ced172010a
gogs service: add option for enabling "secure" cookies
2017-04-23 16:27:43 +01:00
William Casarin
35eeb08dc6
plex: fix startup issue
...
Fixes an issue with plex on startup
Fixes #24090
2017-04-23 08:26:18 -07:00
Rodney Lorrimar
0e90a05a52
gogs service: generate the secret key only once, then reuse
2017-04-23 15:05:44 +01:00
Rodney Lorrimar
cfa1faa37c
gogs service: chmod 440 config file
...
Directory which contains the config file /var/lib/gogs already
has mode 700 but users are liable to change these things.
2017-04-22 17:51:04 +01:00
Rodney Lorrimar
79d52bc26c
gogs service: don't copy database password to nix store
...
Relevant to #24288
2017-04-22 17:07:21 +01:00
Rodney Lorrimar
0c9512d263
gogs service: fix encoding of secret key
...
I was getting a secret key like this:
[security]
SECRET_KEY = 7X
Use coreutils base64 instead to get the full 256 bits of randomness.
2017-04-22 17:07:20 +01:00
Benno Fünfstück
855155083a
Merge pull request #24755 from LumiGuide/bepasty-secretKeyFile
...
bepasty: add secretKeyFile option
2017-04-22 00:07:04 +02:00
Joachim F
2db0cf0897
Merge pull request #24900 from pjones/pjones/plex-service
...
plex: Don't overwrite primary database on restart
2017-04-16 13:09:26 +01:00
edef
27e750e29b
etcd module: fix extraConf manual link
2017-04-16 00:26:23 +02:00
Peter Jones
5a50b26662
plex: Don't overwrite primary database on restart
...
This change fixes two major issues:
1. If you don't use SIGQUIT to stop Plex it will corrupt its own
database :(
2. Newer versions of Plex keep metadata in the
`com.plexapp.plugins.library.db` database. This is the file that
we copy into `/var/lib/plex/.skeleton`. If we copy the empty
database on top of this one the user will lose their entire
library metadata. This change skips the copy if the file
already exists.
2017-04-14 11:19:29 -07:00
Franz Pletz
3ab45f4b36
treewide: use boolToString function
2017-04-11 18:18:53 +02:00