Commit Graph

4951 Commits

Author SHA1 Message Date
Markus Kohlhase
c1b09c9d7b spacenavd: init at 0.6 2017-03-17 13:22:33 +01:00
Ruben Maher
f70726854a
matrix-synapse: Allow keys to be generated
The matrix-synapse user has `createHome = true;` which runs before the
`preStart` script, so the home directory will always exist and the block
will never execute.

Also don't include default path to keys in the configuration file,
because synapse will choke if it tries to open them before they
exist (even with `--generate-keys`).

(cherry picked from commit 08d7fbb42d)
2016-11-18 00:18:45 +01:00
Rob Vermaas
990716ce72 hound: make mercurial indexing work 2016-11-08 14:08:35 +00:00
Rob Vermaas
4b003d4a01 D'oh 2016-11-08 12:27:01 +00:00
Graham Christensen
ae7f41cc91 hound: Add description to services.hound.config
(cherry picked from commit 31b286467c)
2016-11-08 12:19:13 +00:00
Graham Christensen
18119de6db hound: init module
(cherry picked from commit 6c7a605714)
2016-11-08 12:18:55 +00:00
Nikolay Amiantov
444246113a tarsnap service: assert that same key is not used for different archives
See #19089
2016-11-03 17:21:14 +03:00
Ricardo M. Correia
3f6c9cceea nixos.libvirtd: fix broken VMs due to emulator path changes
This had already been fixed in f52f9bf7cd,
but the problem was reintroduced in
bce59a1a8b because the path to the XML
files changed.

(cherry picked from commit af01fa71e0)
2016-11-03 14:56:56 +01:00
Peter J. Jones
cf35c00e84
vsftpd service: add extraConfig option, set anon_root (#20069)
This commit includes two changes:

  1. A new `extraConfig` option to allow administrators to set any
     vsftpd configuration option that isn't directly supported by this
     derivation.

  2. Correctly set the `anon_root` vsftpd option to `anonymousUserHome`
(cherry picked from commit d19967bf48)
2016-11-03 05:07:28 +01:00
Timofei Kushnir
dce54d4d2f
grsecurity: fix 'isYes' and 'isNo'
(cherry picked from commit faa6f9b6b3)
2016-10-29 15:00:51 +02:00
Domen Kožar
686bc9c5cc acme: we do want to support ipv4 afterall
(cherry picked from commit 41c490b75e)
Signed-off-by: Domen Kožar <domen@dev.si>
2016-10-21 13:25:26 +02:00
Domen Kožar
2af7382f76 acme: provide full nginx example 2016-10-21 13:17:55 +02:00
Chris Martin
9fd1ff1ae8 riemann-health service: add procps to path (#19237)
(cherry picked from commit 57023aba3d)
2016-10-20 16:17:34 -04:00
Eelco Dolstra
2eac61e5db display-manager: Require systemd-udev-settle.service
It was already ordered after systemd-udev-settle.service, but that
doesn't do anything if no other units require
systemd-udev-settle.service. This was causing random failures during X
server startup, e.g.

machine# [   12.691372] display-manager[607]: (EE) open /dev/dri/card0: No such file or directory

http://hydra.nixos.org/build/41062823
(cherry picked from commit e6bcff4d53)
2016-10-20 20:06:09 +02:00
Alexander Ried
260c05d2b1
audit module: only enable service if kernel has audit (#19569)
(cherry picked from commit d91365d714)
2016-10-15 16:04:39 +02:00
Vladimír Čunát
e1ff6e766d Merge #18861: add AMDGPU-PRO driver
(cherry picked from commit 9d1dfc9ed0)
It seems very unlikely to break anything.
2016-10-11 20:01:52 +02:00
Nikolay Amiantov
c2b0f628ba timezone service: link localtime to /etc/zoneinfo instead of tzinfo directly
This is needed so systemd can extract timezone from a symlink.

(cherry picked from commit 0762396d68)
2016-10-11 17:57:56 +03:00
zimbatm
6a8318cb5c x11 module: fix display manager restart timeouts
It takes more than 1 second to boot the X server.
2016-10-10 21:30:43 +01:00
zimbatm
07b8442656 x11 module: don't restart the display manager indefinitely
If the display managers crashes continuously in loops it prevents the
user from switching to the console and try to fix things. Especially
when using the "auto" display manager it can happen quite easily.
2016-10-10 21:12:11 +01:00
Nathan Bijnens
c1af3a04a1 Fix #19382 set ownership of /var/empty to root:root
(cherry picked from commit 4ed85933db)

Signed-off-by: Domen Kožar <domen@dev.si>
2016-10-09 12:07:52 +02:00
Moritz Ulrich
103b012d2d services.kippo: Add missing '}'
(cherry picked from commit c475234827)
2016-10-06 13:42:18 +02:00
Frederik Rietdijk
234c7b526c Kippo: move pythonPackages.twisted_11 to kippo expression
(cherry picked from commit 6f836eb0d4)
2016-10-06 13:40:33 +02:00
Kirill Boltaev
079f3ea032 sddm: wrap xserver in systemd-cat to make logs appear in the journal
(cherry picked from commit 1978d00458)
2016-10-05 20:19:35 +03:00
Ricardo M. Correia
4e14fd5d5a nixos.acme: make timer persistent
This makes sure that if the system was powered off when the timer was
supposed to trigger, it will run the next time the system boots up.

(cherry picked from commit 1623476904)

Reason: Unobtrusive patch that may fix broken/outdated TLS
certificates, depending on your powered-on/powered-off patterns.
2016-10-04 18:04:19 +02:00
Eelco Dolstra
c89c1ba08b ec2-amis.nix: Create a "latest" attribute for NixOps
(cherry picked from commit 4b89d47887)
2016-10-03 18:29:50 +02:00
Eelco Dolstra
31bb717fa4 Add NixOS 16.09.666.3738950 AMIs
(cherry picked from commit 39b75f3b9f)
2016-10-03 18:10:45 +02:00
Eelco Dolstra
651274de33 Merge remote-tracking branch 'origin/release-16.09' into staging-16.09 2016-09-30 21:36:20 +02:00
Jörg Thalheim
fcd02ec20e containers: fix dynamic hash lookup
we want the content of attribute as a key:
b9df84cd4f broke this

(cherry picked from commit d6ce2e4bcb)
2016-09-30 21:33:26 +02:00
Eelco Dolstra
0b37191f76 samba: Use startup notification
This ensures synchronous unit start.

(cherry picked from commit e993506d4c)
2016-09-30 21:31:07 +02:00
Eelco Dolstra
7c9b9ae7e2 Merge remote-tracking branch 'origin/release-16.09' into staging-16.09 2016-09-30 21:28:44 +02:00
Nikolay Amiantov
9587a856ba switch-to-configuration: fix restart of socket activated services
This fixes two bugs:

* When socket activation is detected, the service itself is added to stop-start list instead of its sockets.
* When service is marked to restart instead of stop (`StopIfChanged = no`) we don't need to restart sockets.

(cherry picked from commit d37458ad06)
2016-09-30 18:33:37 +03:00
Nikolay Amiantov
5598db747f systemd-journald service: restart instead of stop and start
Also restart when configuration is changed.

(cherry picked from commit ff0b8b2225)
2016-09-30 18:33:18 +03:00
Eelco Dolstra
baf9c40afb Merge remote-tracking branch 'origin/release-16.09' into staging-16.09 2016-09-30 17:29:09 +02:00
Eelco Dolstra
256b6b2ae1 Fix "undefined variable ‘device’" using autoFormat
(cherry picked from commit 7e8eb6a7c3)
2016-09-30 17:27:19 +02:00
Shea Levy
e5bd75f3e6 supplicant: Make the device pull in the supplicant service.
The udev rule should do this. Not sure why it doesn't.

Fixes #19029.

(cherry picked from commit b692e06686)
2016-09-30 09:23:03 -04:00
Graham Christensen
b3be1c7e48
Revert "lightdm: obbey services.xserver.{window/desktop}Manager.default"
This reverts commit 6a12ff4cbd.

See: https://github.com/NixOS/nixpkgs/pull/19054
Closes #19054
2016-09-30 08:18:49 -04:00
Eelco Dolstra
b6c9c0258b Merge remote-tracking branch 'origin/release-16.09' into staging-16.09 2016-09-30 13:01:38 +02:00
Domen Kožar
1ff2b10f28 changelog for gnupg bump, fixes #18293 2016-09-30 12:00:33 +02:00
Eelco Dolstra
f32c4bfecd Add stdenvNoCC
This is a standard environment that doesn't contain a C/C++
compiler. This is mostly to prevent trivial builders like runCommand
and substituteAll from pulling in gcc for simple configuration changes
on NixOS.

(cherry picked from commit 0cb16a6955)
2016-09-30 11:39:20 +02:00
Eelco Dolstra
9ea5e25cd8 kde4: Get rid of some Nepomuk cruft by default
(cherry picked from commit 020e88704a)
2016-09-30 11:37:18 +02:00
Eelco Dolstra
5ba3965c54 kde4: Allow disabling dependency on MariaDB
This reduces the runtime closure of a KDE4 system by ~172 MiB.

(cherry picked from commit c2495261a8)
2016-09-30 11:37:13 +02:00
Peter Hoeg
f7215c9b5b dbus: add socket activation but do not enable it
The following changes are included:

1) install user unit files from upstream dbus
2) use absolute paths to config for --system and --session instances
3) make socket activation of user units configurable

There has been a number of PRs to address this, so this one does the
bare minimum, which is to make the functionality available and
configurable but defaults to off.

Related PRs:
 - #18382
 - #18222
2016-09-30 11:26:54 +02:00
Tuomas Tynkkynen
8111a89835 nixos-install: Bug fix for root password not being asked
Since some changes to the setuid wrappers, there is a symlink involved
and it doesn't resolve correctly inside the chroot. Do the check inside
the chroot to make it work again.

(cherry picked from commit a34ec1517f)
2016-09-29 23:21:21 +03:00
Eelco Dolstra
e574e7201f firewall: Order before sysinit
Suggested by @aszlig.

(cherry picked from commit e090701e2d)
2016-09-29 20:38:41 +02:00
Eelco Dolstra
773dfd7a3a Fix starting the firewall
Probably as a result of 992c514a20, it
was not being started anymore.

My understanding of systemd.special(7) (section "Special passive
system units") is that the firewall should want network-pre.target,
rather than the other way around (not very intuitive...). This in
itself does not cause the firewall to be wanted, which is why the
wanted-by relationship with multi-user.target is necessary.

http://hydra.nixos.org/build/39965589
(cherry picked from commit abdc5961c3)
2016-09-29 20:38:41 +02:00
Eelco Dolstra
546a5c6225 nfs module: Fix dependency on statd and idmapd
http://hydra.nixos.org/build/40038016
(cherry picked from commit 58b028f9ee)
2016-09-29 20:38:41 +02:00
Eelco Dolstra
af2d57a8b6 nfs module: Improve descriptions
(cherry picked from commit 015c984537)
2016-09-29 20:38:41 +02:00
Eelco Dolstra
5f9ef33800 Enable the runuser command from util-linux
Fixes #14701.

(cherry picked from commit 98102ebd92)
2016-09-29 20:38:40 +02:00
Eelco Dolstra
48874b5a9e Fix infinite recursion introduced by f3c32cb2c1
(cherry picked from commit 520cb14f16)
2016-09-29 20:38:40 +02:00
Eelco Dolstra
6f78babb2f Make the default fonts conditional on services.xserver.enable
We were pulling in 44 MiB of fonts in the default configuration, which
is a bit excessive for headless configurations like EC2
instances. Note that dejavu_minimal ensures that remote X11-forwarded
applications still have a basic font regardless.

(cherry picked from commit 5b5c2fb9c0)
2016-09-29 20:38:40 +02:00