Commit Graph

23948 Commits

Author SHA1 Message Date
happysalada
81640c0d8c dokuwiki: add release notes 2021-11-02 19:29:49 +09:00
Michele Guerini Rocco
b67e752c29
Merge pull request #144210 from evils/fancontrol
nixos/fancontrol: restart on-failure
2021-11-02 10:22:25 +01:00
Evils
9cb2107476 nixos/fancontrol: restart on-failure 2021-11-02 09:24:31 +01:00
github-actions[bot]
4b2ca106c9
Merge master into staging-next 2021-11-02 06:01:22 +00:00
Michael Fellinger
cb3a0f55e8 stage2: use atomic bind mounts 2021-11-01 20:12:59 -07:00
oxalica
0f57c4b952 nixosTest/plasma5-systemd-start: init 2021-11-02 09:57:52 +08:00
Jonas Heinrich
50029ed89c nixos/dokuwiki: add missing option enable 2021-11-02 09:23:06 +09:00
github-actions[bot]
d27dd6653e
Merge master into staging-next 2021-11-02 00:01:32 +00:00
Sandro
c3051ea7c2
Merge pull request #144024 from SuperSandro2000/fix-plasma-users 2021-11-01 23:56:12 +01:00
Niklas Hambüchen
29f4f7110c nixos/smokeping: Add nh2 to maintainers 2021-11-01 23:20:40 +01:00
Niklas Hambüchen
4aeabbee61 nixos/rl-2111: Document smokeping service updates 2021-11-01 23:20:40 +01:00
Niklas Hambüchen
c7ed7466c3 nixos/smokeping: Don't listen on all interfaces by default.
In general, NixOS services are configured such that by default
they are not exposed to the Internet for security, see #100192.
2021-11-01 23:20:40 +01:00
Niklas Hambüchen
bb2a6ec751 nixos/smokeping: Use requiredBy instead of wantedBy.
This makes switch-configuration fail if something is wrong with it,
which is desired especially for NixOps deployments.
2021-11-01 23:20:40 +01:00
Niklas Hambüchen
123171b557 nixos/smokeping: Remove partOf to ensure restarts work.
Details on https://github.com/NixOS/nixops/issues/1063#issuecomment-453253666.

`partOf` makes that if `smokeping.service` is stopped, `thttpd.service` will
be stopped as well.
(But not that `thttpd` will be started when `smokeping` is started).

Once `thttpd.service` is stopped that way, `Restart = always` will not apply.

When the smokeping config options are changed, NixOS's `switch-configuration.pl`
will stop `smokeping` (whit shuts down thttpd due to `partOf`), and then restart
smokeping; but this does not start thttpd.
As a result, thttpd will be off after changing the config, which isn't desired.

This commit fixes it by removing the `partOf`, which makes `Restart` work
as expected.
2021-11-01 23:20:40 +01:00
Niklas Hambüchen
17e4387b38 nixos/smokeping: Make default imgUrl relative.
This avoids a common problem:

Until now, port forwarding to multiple hosts running smokeping did not work;
they all show the data of the first smokeping instance.
That ws because the image URLs generated by smokeping are absolute
(`imgurl` setting).
Consequently, if you ran
  ssh node-1 -L 8081:localhost:8081
  ssh node-2 -L 8081:localhost:8082
  ssh node-3 -L 8081:localhost:8083
and try to open http://localhost:8081, http://localhost:8082 and
http://localhost:8083, they all would show the images of node-1!

Using a relative `imgurl` fixes that.
As per smokeping docs on `imgurl`:

> Either an absolute URL to the `imgcache` directory or one relative to the
> directory where you keep the SmokePing cgi.
2021-11-01 23:20:40 +01:00
Niklas Hambüchen
2760695df0 nixos/smokeping: Add host option.
Allows setting smokeping to not listen on the public Internet.
2021-11-01 23:20:40 +01:00
Niklas Hambüchen
0a2103547f nixos/smokeping: Remove bash wrapper, refactor.
The bash wrapper process served no purpose, and systemd directly controlling the
processes is more reliable / more responsive to systemctl commands.
2021-11-01 23:20:40 +01:00
Julian Stecklina
6204fa6c7a
spike: move test to installCheck phase (#143832)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-01 21:26:38 +01:00
markuskowa
6834ca6639
Merge pull request #143421 from ck3d/fix-neovim-EDITOR
nixos/neovim: Respect option defaultEditor
2021-11-01 21:14:04 +01:00
github-actions[bot]
bd0051cd54
Merge master into staging-next 2021-11-01 18:01:02 +00:00
Sandro
0dbbf28f8d
Merge pull request #144106 from alyssais/qemu-kvm 2021-11-01 15:40:13 +01:00
Anderson Torres
83c3a8b356
Merge pull request #143708 from AndersonTorres/new-misc
ucg: rewrite tests
2021-11-01 11:23:42 -03:00
Michael Weiss
22fa348963
Merge pull request #144099 from primeos/nixos-tests-chromium
nixos/tests/chromium: Add a workaround to fix the test for M96+
2021-11-01 13:09:29 +01:00
Alyssa Ross
e791519f0f
nixos/qemu-vm: use qemu_kvm
qemu_kvm is only built for one architecture, so it's smaller and takes
MUCH less time to build if it has to be built from source.  And this
module doesn't support running a VM for one architecture from another
architecture, so the one architecture is all we'll need.
2021-11-01 12:04:45 +00:00
github-actions[bot]
cc41bb5851
Merge master into staging-next 2021-11-01 12:01:00 +00:00
Michael Weiss
a188a74486
nixos/tests/chromium: Add a workaround to fix the test for M96+
Some upstream changes broke the automatic fallback to SwiftShader.
Without this workaround the GPU initialization fails (apparently due to requiring Vulkan):
machine # libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
machine # [1001:1001:1101/104304.000625:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
machine # libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
machine # [1052:1052:1101/104305.060496:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
machine # [1084:1084:1101/104305.165898:ERROR:angle_platform_impl.cc(44)] Display.cpp:894 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1048.
machine # [1084:1084:1101/104305.171191:ERROR:gl_surface_egl.cc(782)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1048.
machine # [1084:1084:1101/104305.178707:ERROR:gl_surface_egl.cc(1382)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
machine # [1084:1084:1101/104305.180111:ERROR:gl_ozone_egl.cc(20)] GLSurfaceEGL::InitializeOneOff failed.
machine # [1084:1084:1101/104305.189760:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
machine # [1092:1092:1101/104305.233470:ERROR:gpu_init.cc(457)] Passthrough is not supported, GL is disabled, ANGLE is

This workaround restores the previous result:
machine # [1004:1004:1101/104551.131190:ERROR:gpu_init.cc(457)] Passthrough is not supported, GL is swiftshader, ANGLE is

The workaround is only required for Chromium, not Google Chrome.
2021-11-01 12:19:28 +01:00
Maximilian Bosch
f823249125
Merge pull request #144079 from xaverdh/linux-5.15
Linux 5.15
2021-11-01 11:29:59 +01:00
Dominik Xaver Hörl
256a798f82 nixos/kernel: test all upstream kernels, reference linuxKernel directly 2021-11-01 10:20:39 +01:00
Robert Hensing
0b0d2637fc Revert "nixos/specialisation: Rephrase in terms of extendModules, noUserModules"
This reverts commit e2bea4427b.

While this commit was probably fine, I want to be conservative
with changes right before the release branch-off.
So far the extendModules commits have been adding and refactoring
expressions that did not affect derivation hashes, whereas this
commit changes the module ordering. I will open a separate PR for
it.
2021-11-01 09:41:55 +01:00
Robert Hensing
e2bea4427b nixos/specialisation: Rephrase in terms of extendModules, noUserModules 2021-11-01 09:40:16 +01:00
Robert Hensing
22584ce667 nixos/eval-config.nix: Expose type
Also works for (pkgs.nixos {}).type.
2021-11-01 09:38:49 +01:00
AndersonTorres
dc4e3b543d ucg: rewrite tests
The tests can be easily done in the local machine, there is no necessity of
starting a virtual machine for them.
2021-10-31 21:25:12 -03:00
github-actions[bot]
7eaf56d92e
Merge master into staging-next 2021-11-01 00:01:32 +00:00
Sandro
487dd864e5
Merge pull request #143813 from iAmMrinal0/move/ammoniteTest 2021-10-31 23:21:11 +01:00
Sandro
afa027591c
Merge pull request #143776 from iAmMrinal0/remove/awsCliTest 2021-10-31 23:20:43 +01:00
Sandro
33f7dd3cfd
Merge pull request #143620 from jtojnar/ppd 2021-10-31 22:48:45 +01:00
Robert Hensing
c4eb2858ba
Merge pull request #144039 from Synthetica9/cifs-utils-test-remove
nixosTests.cifs-utils: remove
2021-10-31 22:15:37 +01:00
Sandro
89aa371808
Merge pull request #143745 from jwoudenberg/yubikey-agent-fixes 2021-10-31 21:56:56 +01:00
Patrick Hilhorst
4fa7ac22c4
nixosTests.cifs-utils: remove
It was broken on all counts and not included in all-tests.nix, so it was never really executed anyways.
2021-10-31 21:51:01 +01:00
Guillaume Girol
9545fade8b
Merge pull request #142743 from symphorien/ihm-5-dev-2
python3.pkgs.ihatemoney: 4.2 -> 5.1.1
2021-10-31 19:32:40 +00:00
Sandro Jäckel
c88d7f42cb
nixos/plasma5: fix accounts-daemon can't read profile image from systemsettings5 2021-10-31 19:50:07 +01:00
Sandro Jäckel
19142fd079
nixos/plasma5: enable accounts dbus daemon to beable to modify user settings like Pictures 2021-10-31 19:01:59 +01:00
Sandro Jäckel
22987611d0
nixos/plasma5: assorted manually formatting changes and cleanups + statix
nixos/plasma5: asd
2021-10-31 19:01:58 +01:00
github-actions[bot]
7ca1d48ff2
Merge master into staging-next 2021-10-31 18:01:01 +00:00
Robert Hensing
3028246ac0
Merge pull request #144014 from hercules-ci/fix-nixosTest-infinite-recursion
nixosTest: Fix infinite recursion involving hasContext testScript whe…
2021-10-31 18:49:05 +01:00
Robert Hensing
56c4f9d005 nixosTest: Fix infinite recursion involving hasContext testScript when useNixStoreImage = true
The involved test was nixosTests.nextcloud.basic21.

It has a testScript that is strict in nodes.nextcloud.config.system.build.vm,
in assertions about imagemagick being in the system closure.

The recursion was introduced in 329a4461a7 from
https://github.com/NixOS/nixpkgs/pull/140792
2021-10-31 18:25:19 +01:00
Maximilian Bosch
aaeba3c577
Merge pull request #143840 from maralorn/nextcloud-cron
nixos/nextcloud: Adapt cron frequency to changed upstream requirement
2021-10-31 15:50:47 +01:00
Robert Hensing
67e9f0551f
Merge pull request #144001 from hercules-ci/fix-nixos-release-eval-test-ghostunnel
nixos/tests/ghostunnel.nix: Fix eval as invoked by release.nix
2021-10-31 15:41:10 +01:00
Robert Hensing
e4e3fbe8aa nixos/tests/ghostunnel.nix: Fix eval as invoked by release.nix
Worked fine with nixosTests.
2021-10-31 15:35:02 +01:00
Jan Tojnar
ef02a97f27
Merge pull request #142865 from jansol/master
pipewire: 0.3.38 -> 0.3.39
2021-10-31 15:32:20 +01:00