Commit graph

181744 commits

Author SHA1 Message Date
WilliButz
49302dc593
nixos/avahi: refactor module, add option extraServiceFiles
Types are now specified for all options.
The fixed uid and gid for the avahi user have been removed
and the user avahi is now in the group avahi.
The the generic opening of the firewall for UDP port 5353 is
now optional, but still defaults to true.

The option `extraServiceFiles` was added to specify avahi
service definitions, which are then placed in `/etc/avahi/services`.
2019-06-04 00:22:48 +02:00
WilliButz
c260e9e399
avahi: set AVAHI_SERVICE_DIR to well-known location
Avahi now uses `/etc/avahi/services` instead of its
store path to look for files with service definitions.
2019-06-04 00:22:48 +02:00
Vladimír Čunát
ee86a325dd
Merge branch 'staging-next' into staging
Conflicts (simple):
	nixos/doc/manual/release-notes/rl-1909.xml
2019-06-03 22:34:49 +02:00
Florian Klink
2812b5ce39
systemd: 239 -> 242 (#61321)
systemd: 239 -> 242
2019-06-03 16:40:55 +02:00
Andreas Rammhold
7508490770
nixos/test: remove the stateVersion statement from the test-instrumentation
We set stateVersion to `mkDefault 18.03` in
`nixos/modules/testing/test-instrumentation.nix` and in
`modules/installer/cd-dvd/installation-cd-base.nix`.

Accessing the stateVersion in the module system from within the tests
results in the following error:
> The unique option `system.stateVersion' is defined multiple times, in
> `nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-base.nix' and
> `nixpkgs/nixos/modules/testing/test-instrumentation.nix'.

There are other tests that use it as well. Namely the radicale test also
verifies behaviour between state versions is as expected. It switches a
package default value. Others switched on the state directory default.
It seems like having the timesyncd switch as part of every rendered
activationScript might cause this weird error.

Removing this line seems like a reasonable thing to do since we actually
set the default to the very same value in the module system. This line
should have been no-op besides the issue that we've two statements
setting it in this very specific case.
2019-06-03 15:05:24 +02:00
Andreas Rammhold
9077623324
nixos/misc: warn when someone is using the nixops autoLuks module
The autoLuks module is not really compatible with the updated systemd
version anymore. We started dropping NixOS specific patches that caused
unwanted side effects that we had to work around otherwise.

This change points users towards the relevant PR and spits out a bit of
information on how to deal with the situation.
2019-06-03 15:05:23 +02:00
Andreas Rammhold
0f93834c5e
systemd: remove references to $out/lib/systemd/catalog
On aarch64 we "leak" a reference to $out/lib/systemd/catalog in the lib
output. The result of that is a dependency cycle between $out and $lib.
Thus nix (rightfully) marks the build as failed. That reference
originates from an array of strings (catalog_file_dirs) in systemd
(src/src/journal/catalog.{c,h}).  The only consumer (as of v242) of the
symbol is the main function of journalctl.  Still libsystemd.so contains
the VALUE but not the symbol.  Systemd seems to be properly using
function & data sections together with the linker flags to garbage
collect unused sections (-Wl,--gc-sections).  For unknown reasons those
flags do not eliminate the unused string constants, in this case on
aarch64-linux. The hacky way is to just remove the reference after we
finished compiling.  Since it can not be used (there is no symbol to
actually refer to it) there should not be any harm.  It is a bit odd and
I really do not like starting these kind of hacks but there doesn't seem
to be a straight forward way at this point in time.

The reference will be replaced by the same reference the usual nukeRefs
tooling uses.  The standard tooling can not / should not be uesd since
it is a bit too excessive and could potentially do us some (more) harm.
2019-06-03 15:05:22 +02:00
Andreas Rammhold
81f390d2e3
systemd: disable building tests
We are currently not running any tests but building them takes
signitifcant amounts of time since they account to about 40% of all the
compilation targets.
2019-06-03 15:05:21 +02:00
Franz Pletz
d436ab0718
multipath-tools: 0.6.2 -> 0.8.1 2019-06-03 15:05:20 +02:00
Andreas Rammhold
024a383d64
nixos/systemd: migrate systemd-timesync state when required
Somewhen between systemd v239 and v242 upstream decided to no longer run
a few system services with `DyanmicUser=1` but failed to provide a
migration path for all the state those services left behind.

For the case of systemd-timesync the state has to be moved from
/var/lib/private/systemd/timesync to /var/lib/systemd/timesync if
/var/lib/systemd/timesync is currently a symlink.

We only do this if the stateVersion is still below 19.09 to avoid
starting to have an ever growing activation script for (then) ancient
systemd migrations that are no longer required.

See https://github.com/systemd/systemd/issues/12131 for details about
the missing migration path and related discussion.
2019-06-03 15:05:19 +02:00
Florian Klink
bc71b6eaf6
nixosTests.containers-imperative: add tmpfiles test
(cherry picked from commit 92600a90e248aa27f2aedcce4ad309f987a390df)
2019-06-03 15:05:18 +02:00
Andreas Rammhold
1b7b1dbe2f
nixos/networkd: rename GatewayOnlink to GatewayOnLink
This follows upstreams renaming of the option [1].

[1] 9cb8c55934
2019-06-03 15:05:17 +02:00
Andreas Rammhold
d600da7045
nixos/networkd: use the route section for default routes
With systemd v242 using the `Gateway` attribute of the `[Network]`
section will lead to "onlink" routes on all the device that are matched
by the default configuration (typically all devices) causing multiple
default routes (even on localhost).

We can only avoid that - while keeping our default route option - when
we mark the route as explicitly not on link. Only gateways that are
within a subnet of one of the assigned interface addresses will be
installed into the routing table.
2019-06-03 15:05:16 +02:00
Andreas Rammhold
a32cd7d84a
nixos/networkd: use no instead of none for DHCP= option
systemd has deprecated the use of `none` and recommends using `no`
instead.
2019-06-03 15:05:15 +02:00
Andreas Rammhold
4743ad7392
nixos/tests/radicale: be a bit more permissive when matching logs
With the systemd update to v242 five lines are not longer sufficient to
verify that the storage was verified. In order to reduce future test
failures increasing it to 10 lines sounds like a sane amount.
2019-06-03 15:05:14 +02:00
Andreas Rammhold
1f03f6fc43
nixos/udev: switch networking.usePredicatableInterfaceNames to a kernel param
The udev rules we are shipping no longer work with systemd v242 and were
remove upstream some time ago. It seems like the entire renaming is now
done in C and not in the udev rules.
2019-06-03 15:05:12 +02:00
Andreas Rammhold
8c7e588362
systemd: 241.20190221 -> 242 2019-06-03 15:05:11 +02:00
Jörg Thalheim
2a0f85d882
nixos/os-release: add documentation url 2019-06-03 15:05:10 +02:00
Jörg Thalheim
5b0db07ee1
systemd: 239.20190219 -> 241.20190221 2019-06-03 15:05:09 +02:00
Maximilian Bosch
7c53ac0184
Merge pull request #62590 from r-ryantm/auto-update/vim
vim: 8.1.1234 -> 8.1.1432
2019-06-03 12:32:46 +02:00
R. RyanTM
30496d80fa vim: 8.1.1234 -> 8.1.1432
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/vim/versions
2019-06-03 01:04:55 -07:00
Vladimír Čunát
c4724fb7bc
Merge branch 'master' into staging-next
Hydra nixpkgs: ?compare=1523028
2019-06-03 10:01:25 +02:00
Will Dietz
ae71c13a92
Merge pull request #62552 from r-ryantm/auto-update/qownnotes
qownnotes: 19.4.5 -> 19.5.7
2019-06-02 22:54:44 -05:00
R. RyanTM
fc5b800a7a qownnotes: 19.4.5 -> 19.5.7
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/qownnotes/versions
2019-06-02 17:46:27 -07:00
R. RyanTM
63684d50be mosquitto: 1.6.1 -> 1.6.2 (#62480)
Security release: http://mosquitto.org/blog/2019/04/version-1-6-2-released/
2019-06-03 00:14:19 +00:00
Mateusz Kowalczyk
cb18cee680
Merge pull request #62479 from r-ryantm/auto-update/mkvtoolnix
mkvtoolnix: 33.1.0 -> 34.0.0
2019-06-03 08:34:09 +09:00
Orivej Desh
5ccacc2514 libevent: 2.1.8 -> 2.1.10 2019-06-02 23:14:35 +00:00
worldofpeace
40b40f3c6a
Merge pull request #62163 from jonringer/applicationinsights
python.pkgs.applicationinsights: init at 0.11.9
2019-06-02 18:30:23 -04:00
worldofpeace
c6748ef63f
Merge pull request #61746 from abbradar/gnome-pa
nixos/gdm: use Fedora's PulseAudio configuration
2019-06-02 18:16:04 -04:00
Nikolay Amiantov
00972dc89c nixos/gdm: use Fedora's PulseAudio configuration
This is needed to avoid GDM PulseAudio instance acting as a network
source/sink or grabing the A2DP bluetooth sink making A2DP unusable
for any other user. In the future having this fixed in PulseAudio
would be preferred [0]. Current possible upstream fix could be [1].

[0]: https://github.com/NixOS/nixpkgs/pull/61746#issuecomment-493956980
[1]: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/merge_requests/10
2019-06-02 18:01:53 -04:00
Mario Rodas
1e9b1818f6
Merge pull request #62521 from r-ryantm/auto-update/python3.7-django-classy-tags
python37Packages.django_classytags: 0.8.0 -> 0.9.0
2019-06-02 16:33:57 -05:00
Mario Rodas
cd1a00cfce
Merge pull request #62531 from r-ryantm/auto-update/python3.7-lark-parser
python37Packages.lark-parser: 0.7.0 -> 0.7.1
2019-06-02 16:31:42 -05:00
worldofpeace
43311f45c7
Merge pull request #62258 from marsam/fix-flexget
flexget: fix build
2019-06-02 16:50:10 -04:00
R. RyanTM
510a167a91 python37Packages.jupytext: 0.8.6 -> 1.1.3 (#62530)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-jupytext/versions
2019-06-02 21:46:05 +02:00
Izorkin
5612650767 nixos/nginx: add ipv6 options to resolver 2019-06-02 19:29:30 +00:00
Alyssa Ross
45f4cc1957
Merge pull request #57803 from alyssais/lynx
lynx: enable default-colors
2019-06-02 19:16:55 +00:00
Nikolay Amiantov
226dc2178e xits-math: 1.108 -> 1.200 2019-06-02 21:56:56 +03:00
R. RyanTM
fbf14135d5 python37Packages.lark-parser: 0.7.0 -> 0.7.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-lark-parser/versions
2019-06-02 11:55:40 -07:00
Nikolay Amiantov
1deb406ac2 mxnet: 1.2.1 -> 1.4.1 2019-06-02 21:50:06 +03:00
Mario Rodas
c534d5c865
Merge pull request #62523 from r-ryantm/auto-update/python3.7-django-cors-headers
python37Packages.django-cors-headers: 2.5.3 -> 3.0.2
2019-06-02 13:38:30 -05:00
Ryan Mulligan
0c0e8423d8
Merge pull request #62453 from r-ryantm/auto-update/kronometer
kronometer: 2.2.1 -> 2.2.2
2019-06-02 11:33:52 -07:00
Mario Rodas
7419e47311
Merge pull request #62514 from r-ryantm/auto-update/python3.7-aspy.yaml
python37Packages.aspy-yaml: 1.1.2 -> 1.3.0
2019-06-02 13:24:07 -05:00
Mario Rodas
da057da983
gitAndTools.pre-commit: 1.15.2 -> 1.16.1 2019-06-02 13:20:27 -05:00
Mario Rodas
614c7c44d7
Merge pull request #62505 from r-ryantm/auto-update/powershell
powershell: 6.2.0 -> 6.2.1
2019-06-02 13:13:56 -05:00
R. RyanTM
cbc5f612c2
powershell: 6.2.0 -> 6.2.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/powershell/versions
2019-06-02 13:12:23 -05:00
Franz Pletz
f05fcf41be
mxisd: 1.4.3 -> 1.4.4 2019-06-02 19:52:04 +02:00
Franz Pletz
dc193761a8
libressl: switch to 2.9 branch
This is stable since 2.9.1:

https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.9.1-relnotes.txt
2019-06-02 19:52:04 +02:00
Franz Pletz
cea163252a
libressl_2_7: remove, not maintained anymore
Stable LibreSSL releases are supported one year after their OpenBSD release.
OpenBSD 6.3 with this branch was released on 2018-04-01.
2019-06-02 19:52:04 +02:00
Florian Klink
f71206190f
wireguard-tools, wireguard-go: add update scripts, wireguard-go: 0.0.20181222 -> 0.0.20190517 (#62432)
wireguard-tools, wireguard-go: add update scripts, wireguard-go: 0.0.20181222 -> 0.0.20190517
2019-06-02 19:48:35 +02:00
Tim Steinbach
57815f9164
oh-my-zsh: 2019-05-28 -> 2019-06-01 2019-06-02 13:27:17 -04:00