Ashlynn Anderson
47db174a3c
nixos/self-deploy: make nixAttribute nullable ( #125617 )
...
Allows using a nix file that directly provides the derivation
2021-06-07 12:44:13 -07:00
Tom Bereknyei
9815f9545e
nixos/doc: add sourcehut to release notes
2021-06-07 11:26:29 -04:00
jakobrs
475c007da0
nixos/libvirtd: add assertion requiring polkit to be enabled
2021-06-07 15:12:21 +02:00
talyz
41387135dd
nixos/grafana: Add error handling to service script
...
Without this, the services starts even if files are missing or
prerequisite commands fail, which can lead to incorrect initial
state.
2021-06-07 18:00:13 +09:00
talyz
98f07d6cc5
nixos/grafana: Filter out duplicate plugins
...
If the same plugin appears multiple times in `declarativePlugins`, for
example due to being added both by a module and in user config, the
build fails with an error message similar to
ln: failed to create symbolic link 'grafana-worldmap-panel/glmqcj88zk2bz3mvdr3r7920wxg02qnq-grafana-worldmap-panel-0.3.2': Permission denied
This is solved by removing all duplicates.
2021-06-07 18:00:13 +09:00
Jörg Thalheim
26c487ee99
nixos-rebuild: document override-input
2021-06-07 01:14:09 -04:00
Luke Granger-Brown
91fb672b21
Merge pull request #125573 from Flakebi/prometheus-script-exporter
...
prometheus-script-exporter: init at 1.2.0
2021-06-07 01:59:41 +01:00
AmineChikhaoui
7e89fb12e4
ec2-amis: add release 21.05
2021-06-06 17:09:14 -07:00
Flakebi
3bcf4e31ef
nixos/prometheus: add script exporter
2021-06-06 22:42:46 +02:00
Jacek Galowicz
114f9bccb5
Merge pull request #125971 from blaggacao/nixos-test-ref/rem-dead-code
...
nixos/tests/test-driver: cleanup "dead" code
2021-06-06 22:25:40 +02:00
Luke Granger-Brown
b45f157f03
Merge pull request #125770 from Mewp/acme-fix-tests
...
nixos/acme: Remove an incorrect assertion from tests
2021-06-06 19:11:04 +01:00
David Arnold
03bfa29891
nixos/tests/test-driver: cleanup "dead" code (USE_SERIAL)
...
At nixpkgs root:
`rg redirectSerial ./` does not result in any other match
nor does
`rg USE_SERIAL ./` except for an unrelated match in:
pkgs/tools/graphics/argyllcms/default.nix
2021-06-06 12:58:58 -05:00
Niklas Hambüchen
fdca90d07f
docs: acme: Fix typo
2021-06-06 14:27:13 +02:00
Robert Hensing
c177b49d39
Merge pull request #125683 from talyz/test-driver-pipefail
...
nixos/test-driver: Run commands with pipefail set
2021-06-06 10:42:54 +02:00
Michele Guerini Rocco
78d9a75d9e
Merge pull request #125288 from rnhmjoj/wpa-race-fix
...
nixos/wireless: make wireless.interfaces mandatory
2021-06-06 10:35:15 +02:00
Sandro
0c85b23e25
Merge pull request #123433 from kira-bruneau/gamemode
2021-06-06 02:13:02 +02:00
Sandro
6e2204ea32
Merge pull request #123364 from edude03/patch-7
2021-06-06 01:35:18 +02:00
Flakebi
5e5a3c39ed
nixos/prometheus: add process exporter
2021-06-06 08:17:25 +09:00
Léo Gaspard
925ee864fe
rss2email test: fix name ( #125863 )
2021-06-06 01:05:39 +02:00
tomberek
157aee00a5
nixos/sourcehut: init ( #113244 )
...
* nixos/sourcehut: init
* sourcehut: default nginx setup
* sourcehut: documentation
* sourcehut: re-structure settings
* sourcehut: tests
* nixos/sourcehut: adopt StateDirectory
* Apply suggestions from code review
Co-authored-by: Aaron Andersen <aaron@fosslib.net>
Co-authored-by: Thibaut Marty <github@thibautmarty.fr>
Co-authored-by: malte-v <34393802+malte-v@users.noreply.github.com>
* nixos/sourcehut: PR suggestions
* nixos/sourcehut: malte-v patch
* nixos/sourcehut: add base virtualhost
* nixos/sourcehut: remove superfluous key
* nixos/sourcehut: use default from cfg
* nixos/sourcehut: use originBase for logs
* nixos/sourcehut: use toPythonApplication in systemPackages
* nixos/sourcehut: directly use ExecStart
* nixos/sourcehut: update docs
Co-authored-by: Aaron Andersen <aaron@fosslib.net>
Co-authored-by: Thibaut Marty <github@thibautmarty.fr>
Co-authored-by: malte-v <34393802+malte-v@users.noreply.github.com>
2021-06-05 14:42:51 -04:00
Kim Lindberger
0dda2a708f
Merge pull request #125699 from talyz/fix-mysql-alias
...
treewide: Fix mysql alias deprecation breakage
2021-06-05 19:07:35 +02:00
talyz
3d9c3e5cfd
nixosTests.*: Don't use the -q
flag with grep when used with curl
...
The `-q` flag makes grep close the pipe early, which curl doesn't
handle gracefully, but exits with an error like "(23) Failed writing
body".
2021-06-05 18:44:54 +02:00
talyz
a86853501a
nixosTests.nginx*: nginxUnstable -> nginxMainline
...
Stop using the old `nginxUnstable` alias, which is invalid in tests
since 3edde6562e
.
2021-06-05 18:44:48 +02:00
talyz
b7749c7671
nixos/test-driver: Run commands with error handling
...
Bash's standard behavior of not propagating non-zero exit codes
through a pipeline is unexpected and almost universally
unwanted. Default to setting `pipefail` for the command being run;
it can still be turned off by prefixing the pipeline with
`set +o pipefail` if needed.
Also, set `errexit` and `nonunset` options to make the first command
of consecutive commands separated by `;` fail, and disallow
dereferencing unset variables respectively.
2021-06-05 18:44:42 +02:00
Sandro
9751baf8da
Merge pull request #125303 from Vonfry/fcitx5/autostart
...
nixos/fcitx5: autostart with xserver
2021-06-05 18:06:12 +02:00
Malte Voos
f41f456422
nixos/roundcube: Use php74
2021-06-05 15:28:29 +02:00
Mewp
b00bcf21ab
nixos/acme: Remove an incorrect assertion from tests
...
Commit 3a2e0c36e79cecaf196cbea23e75e74710140ea4 has removed
`--reuse-key` from default renew options, yet the tests still expected
keys not to change. This assertion is now removed, as they are supposed
to change on each renew/change.
2021-06-05 10:38:46 +02:00
Jörg Thalheim
6fdb73a3b4
Merge pull request #118801 from Mic92/k3s
...
nixos/k3s: improve zfs/docker support
2021-06-05 07:54:54 +02:00
Jörg Thalheim
03582eb6e3
nixos/k3s: add zfs to path
2021-06-05 07:52:53 +02:00
Jörg Thalheim
7c310e8d28
nixos/k3s: add to environment.systemPackages for adminstration
2021-06-05 07:52:48 +02:00
Vonfry
195b26b95e
nixos/fcitx5: autostart with xserver
2021-06-05 09:22:58 +08:00
Edward Tjörnhammar
afdb5675a1
nixos/containers: add storage.conf
2021-06-05 10:08:24 +10:00
Maciej Krüger
26b3751de7
Merge pull request #97692 from ryneeverett/lockkernelmodules-lxd
2021-06-05 01:27:27 +02:00
talyz
59e0120aa5
treewide: Fix mysql alias deprecation breakage
...
62733b37b4
broke evaluation in all
places `pkgs.mysql` was used. Fix this by changing all occurrences to
`pkgs.mariadb`.
2021-06-04 21:42:08 +02:00
Kim Lindberger
8960c09eed
Merge pull request #125500 from etu/php-spring-release-cleaning
...
php: post-release spring cleaning and upgrade to 8.0 as default
2021-06-04 17:48:47 +02:00
Robin Gloster
5433abfd6d
Merge pull request #125483 from Ma27/prometheus-exporter-fixes
...
nixos/prometheus-exporters: improve docs & fix rspamd exporter
2021-06-04 09:10:34 -05:00
Sandro
29bcf05da7
Merge pull request #125537 from andersk/release-notes-gnome
2021-06-04 11:13:14 +02:00
Luke Granger-Brown
39e225b0f4
nixos/engelsystem: don't rely on mysql
alias
...
Since 3edde6562e
, we can no longer use
aliases inside the test framework. This has the implication that we can
no longer use aliases in any NixOS modules used by the test framework as
well (which is good), but does mean we need to clean up any instances
where this is the case.
2021-06-04 08:43:48 +00:00
Maximilian Bosch
951e6988ac
Merge pull request #104543 from chkno/sftpServerExecutable
...
nixos/sshd: Option to set the sftp server executable
2021-06-04 10:16:20 +02:00
Elis Hirwing
c76bebc549
unit: Add php80 and use it as default
2021-06-04 09:27:07 +02:00
Elis Hirwing
d0bc04ff70
php: Upgrade from PHP 7.4 to 8.0 as default PHP
2021-06-04 09:27:00 +02:00
Elis Hirwing
68eb5305ac
php: Drop PHP 7.3 support
...
PHP 7.3 won't be supported by upstream for the entire life cycle of
the 21.11 release.
Also drop the pcre' alias since it isn't needed anymore since we don't
need different pcre versions anymore.
2021-06-04 09:26:54 +02:00
Eelco Dolstra
c0a9458083
Merge pull request #125535 from edolstra/no-show-trace
...
nixos-rebuild --fast: Don't imply --show-trace
2021-06-04 07:28:55 +02:00
Kim Lindberger
bd1630ed0a
Merge pull request #121145 from talyz/geoipupdate
...
nixos/geoipupdate: Replace the old `geoip-updater` module
2021-06-03 21:13:45 +02:00
talyz
f5f8341c76
nixos/geoipupdate: Replace the old geoip-updater
module
...
Our old bespoke GeoIP updater doesn't seem to be working
anymore. Instead of trying to fix it, replace it with the official
updater from MaxMind.
2021-06-03 20:57:25 +02:00
Martin Weinelt
64f1254248
Merge pull request #125532 from petabyteboy/feature/snapcast-0-25
2021-06-03 20:41:53 +02:00
Martin Weinelt
6d27068d7c
nixos/tests/snapcast: minor polish to make the tests more expressive
2021-06-03 20:29:02 +02:00
Frederik Rietdijk
3edde6562e
make-test-python: disallow aliases
...
When importing Nixpkgs within Nixpkgs, we should not consider aliases
to ensure we don't rely on them internally.
There are probably more places that need to be converted.
2021-06-03 11:03:31 -07:00
Michael Weiss
049bbd281b
Merge pull request #124582 from primeos/nixos-tests-sway-tested
...
release-combined.tested: Add the Sway test
2021-06-03 20:02:19 +02:00
Bjørn Forsman
4bcb22e17a
nixos/jenkins-job-builder: add support for folder jobs
...
Add support for folder jobs
(https://plugins.jenkins.io/cloudbees-folder/ ) by reworking the service
to support nested jobs.
This also fixes this deprecation warning (as a happy side effect):
WARNING:jenkins_jobs.cli.subcommand.test:(Deprecated) The default output behavior of `jenkins-jobs test` when given the --output flag will change in JJB 3.0. Instead of writing jobs to OUTPUT/jobname; they will be written to OUTPUT/jobname/config.xml. The new behavior can be enabled by the passing `--config-xml` parameter
2021-06-03 19:29:57 +02:00