Commit graph

33568 commits

Author SHA1 Message Date
Nicola Squartini 56e894b0b1 nixos/pam: add test for ZFS home dataset unlocking 2023-05-15 09:22:42 +02:00
Nicola Squartini 87cbaf7ce3 nixos/pam: assert ZFS support for PAM module 2023-05-15 09:22:42 +02:00
Nicola Squartini 5466f76755 nixos/pam: improve documentation of ZFS module 2023-05-15 09:22:39 +02:00
Adam Joseph 2983698c4b release-notes: note ability to build powerpc64le-linux NixOS ISOs
This commit adds a mention to the release notes of the fact that
NixOS 23.05 can build installer ISOs for a new platform.
2023-05-15 00:21:41 -07:00
Nicola Squartini 09f4bf7f16 nixos/pam: enable unlocking ZFS home dataset 2023-05-15 09:20:40 +02:00
Maximilian Nitsch 25f3323d60 nixos/etcd: Fix mapping of clientCertAuth option
The clientCertAuth option must be mapped to the etcd environment
variable ETCD_CLIENT_CERT_AUTH and the peerClientCertAuth option to
ETCD_PEER_CLIENT_CERT_AUTH.

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2023-05-15 09:11:41 +02:00
Ryan Lahfa feb7fcde4b
Merge pull request #231481 from nikstur/rshim-user-space
rshim for Nvidia BlueField
2023-05-15 09:03:50 +02:00
Ryan Lahfa e3bd7faa18
Merge pull request #226830 from Janik-Haag/birdwatcher
birdwatcher: init at 2.2.4, alice-lg: init at 6.0.0, nixos/birdwatcher: init, nixos/alice-lg: init
2023-05-15 08:42:10 +02:00
Janik H 40136a1f7f nixos/birdwatcher: init 2023-05-15 02:52:06 +02:00
Janik H 8ed86700a2 nixos/alice-lg: init 2023-05-15 02:52:06 +02:00
Mac Chaffee 33b15fdce0
security/acme: Fix listenHTTP bug with IPv6 addresses 2023-05-14 20:27:52 -04:00
nikstur 5435eaaa4d nixos/rshim: init 2023-05-15 01:24:48 +02:00
Bernardo Meurer d8b94f5b2c
Merge pull request #231881 from lovesegfault/klipper-log 2023-05-14 16:48:48 -04:00
Jonas Chevalier 9c63dd372d
cloud-init module: fix default settings (#231867)
The `//` operator doesn't do deep merge so it was overriding the first
attrset and not recording the defaults.
2023-05-14 22:35:06 +02:00
Jörg Thalheim 3007746b3f
Merge pull request #231473 from B4dM4n/eval-config-pass-system
treewide: pass system argument to eval-config.nix
2023-05-14 20:13:12 +01:00
Ryan Lahfa d4028c3eb6
Merge pull request #231870 from teutat3s/zhf/prometheus-exporter-wireguard
nixosTests.prometheus-exporters.wireguard: fix test script
2023-05-14 20:53:23 +02:00
Bernardo Meurer 570fff5e92
nixos/klipper: add logFile option 2023-05-14 13:02:08 -04:00
Bernardo Meurer 7a5f684ffd
nixos/klipper: use klippy from $out/bin 2023-05-14 13:02:06 -04:00
Ryan Lahfa 285330f081
Merge pull request #230153 from mklca/swap-encrypt-enhancement
nixos/config/swap: improve randomEncrytion
2023-05-14 19:01:56 +02:00
Ryan Lahfa 1ee11b8a31
Merge pull request #231283 from nikstur/filesystems-erofs
nixos/filesystems: init erofs
2023-05-14 18:54:37 +02:00
teutat3s b3915bd5e2
nixosTests.prometheus-exporters.wireguard: fix test script
A newline in the public key breaks the test script, stripping it out
fixes the test.
2023-05-14 18:01:58 +02:00
Jörg Thalheim fc8c839fe8
Merge pull request #231841 from Ma27/wikijs-node18
wiki-js: use nodejs18
2023-05-14 16:22:56 +01:00
Gabriel Fontes f9f76529cd
nixos/nextcloud: default createLocally to false 2023-05-14 12:09:50 -03:00
Ryan Lahfa 8ef486b60e
Merge pull request #207194 from RaitoBezarius/pixelfed-module
pixelfed: init at 0.11.5, module, tests
2023-05-14 17:09:19 +02:00
Sophie Tauchert 8af23590d3 nixos/borgbackup: fix extraCompactArgs
Fixes the extraCompactArgs introduced with #224072 as the variable
currently isn't added to the script's environment.
2023-05-14 16:51:24 +02:00
figsoda 3aa6580f46 nixos/trippy: init 2023-05-14 10:05:29 -04:00
Maximilian Bosch 577ffe768c
wiki-js: use nodejs18
Part of #229910.

Unfortunately this is a little hacky because upstream doesn't intend to
support it for 2.5, but only for 3.0 which isn't out yet, however nodejs-16
will get out of maintenance during the support-span of NixOS 23.05[1].

The only breaking change is that `extract-files` uses a deprecated way
of exposing modules, I went through the list of other breaking
changes in v17 and v18[2][3] and couldn't spot any usage of removed
features, also local testing didn't reveal further issues.

Unfortunately fixing that breakage turned out to be non-trivial.
Currently, `extract-files@9.0.0` is used with the problematic portions
in its `package.json`, however it's only a transitive dependency of
`@graphql-tools/url-loader` & `apollo-upload-client`. Unfortunately, the
versions of that in use require v9 and don't work with a newer version of
`extract-files` with the problem fixed[4]. Also, upgrading the
dependencies in question is not a feasible option because `graphql-tools`
was split up into multiple smaller packages in v8 and also some of the
APIs in use in `wiki.js` were dropped there[5], so this would also be
very time-consuming and non-trivial to fix.

Since this was the only issue, I decided to go down the hacky route and
patch the problem in `package.json` of `extract-files` manually during
our `patchPhase`.

[1] https://github.com/requarks/wiki/discussions/6388
[2] https://nodejs.org/en/blog/release/v17.0.0
[3] https://nodejs.org/en/blog/release/v18.0.0
[4] Upon local testing, this broke with the following error:

        Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './public/extractFiles' is not defined by "exports" in /wiki/node_modules/extract-files/package.json
[5] For instance `SchemaDirectiveVisitor` in
  `server/graph/directives/auth`.
2023-05-14 14:25:33 +02:00
Jonas Heinrich 9241cee3c4
Merge pull request #224274 from SuperSandro2000/nixos/nextcloud-notify_push
nixos/nextcloud: add configureRedis option; nixos/nextcloud-notify_push: add bendDomainToLocalhost
2023-05-14 10:35:57 +02:00
K900 95f0fe369b nixos/tests/nfs/simple: remove shutdown time check for now
Regressed in latest kernels, but seems less critical than
the channels being stuck for a week.
2023-05-14 10:16:16 +03:00
Martin Weinelt 21e3532284
Merge pull request #231755 from figsoda/nzbget
nzbget: make compatible with openssl 3
2023-05-14 03:07:34 +02:00
figsoda 7064ad5a6e nixosTests.nzbget: fix deprecation warning 2023-05-13 20:05:06 -04:00
linsui c3a2ce47a1 nixos/neovim: fix runtime.text 2023-05-13 23:41:50 +02:00
rewine 71d6ed698f
nixos/gnupg: default to qt pinentry program in deepin 2023-05-14 05:32:38 +08:00
Vladimír Čunát 1ba92fc952
Merge branch 'master' into staging-next 2023-05-13 19:23:59 +02:00
Bruno BELANYI b981ba288c nixos/vikunja: test 'port' option 2023-05-13 18:01:36 +01:00
Bruno BELANYI f3f709af74 nixos/vikunja: add 'port' option 2023-05-13 18:01:36 +01:00
ajs124 831e41f469
Merge pull request #231629 from Izorkin/update-unit
unit: 1.29.1 -> 1.30.0
2023-05-13 19:01:33 +02:00
Izorkin baa5550162
unit: 1.29.1 -> 1.30.0 2023-05-13 16:55:47 +03:00
github-actions[bot] 51e24f4508
Merge master into staging-next 2023-05-13 12:01:05 +00:00
Rene Hollander dbb940f433
nixos/zfs: disable unlock timeout with systemd
Currently systemd-ask-passwd times out after 1m30s. After 3 tries this
causees systemd to enter the emergency shell and basically lead to an
unbootable system requiring a reboot to be able to try to unlock again.

Also if a pool is imported but not unlocked, the unlock step will no
longer be skipped.
2023-05-13 13:53:22 +02:00
Bobby Rong ea11a3977f
Merge pull request #231378 from FedericoSchonborn/budgie-plugins
Add `budgiePlugins` set, init `budgie-user-indicator-redux` at 1.0.1
2023-05-13 17:08:10 +08:00
Florian Klink e9c6179ad0
Merge pull request #231504 from nikstur/systemd-repart-add-maintainer
nixos/systemd-repart: add myself as maintainer
2023-05-13 10:51:11 +03:00
github-actions[bot] 0b21b8d8a6
Merge master into staging-next 2023-05-13 06:01:08 +00:00
Nick Cao a221f15b84
Merge pull request #231371 from Misterio77/update-headscale-test
nixos/tests/headscale: update test
2023-05-13 10:07:59 +08:00
Anderson Torres aec8dddef7 nixos/tests/gitlab.nix: get rid of with lib 2023-05-12 22:29:30 -03:00
Anderson Torres 6955c0c03b nixos/tests/yabar.nix: get rid of with lib 2023-05-12 22:29:30 -03:00
Anderson Torres 21b0935d38 nixos/tests/xss-lock.nix: get rid of with lib 2023-05-12 22:29:30 -03:00
Anderson Torres 9fe5926b15 nixos/tests/uptime-kuma.nix: get rid of with lib 2023-05-12 22:29:30 -03:00
Anderson Torres de2927e336 nixos/tests/tor.nix: get rid of with lib 2023-05-12 22:29:30 -03:00
Anderson Torres 07b75a58e1 nixos/tests/systemd-timesyncd.nix: get rid of with lib 2023-05-12 22:29:30 -03:00
Anderson Torres bef35b3b88 nixos/tests/sudo.nix: get rid of with lib 2023-05-12 22:29:30 -03:00
Anderson Torres 5f00f1f49c nixos/tests/sonarr.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres 1b26f82eed nixos/tests/readarr.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres 2f459bb0c4 nixos/tests/radarr.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres cb47374b5e nixos/tests/prowlarr.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres a8790192f3 nixos/tests/polaris.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres 8cc0632c46 nixos/tests/please.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres 4e9cdcb64e nixos/tests/ombi.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres 196debcf29 nixos/tests/odoo.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres 56934ebec4 nixos/tests/oci-containers.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres 98f5064884 nixos/tests/nzbhydra2.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres 757b9f1be6 nixos/tests/noto-fonts.nix: get rid of with lib 2023-05-12 22:29:29 -03:00
Anderson Torres 2e4a81b23a nixos/tests/n8n.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres aa7d79c0f6 nixos/tests/mpv.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres ca916d0f61 nixos/tests/misc.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres 13dc33c7ac nixos/tests/miniflux.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres 6351703280 nixos/tests/lidarr.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres 9f34f195e1 nixos/tests/libreddit.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres 80042b4cd3 nixos/tests/komga.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres 67fd24d509 nixos/tests/jirafeau.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres cb95162f89 nixos/tests/jackett.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres 081a3c1fbe nixos/tests/iftop.nix: get rid of with lib 2023-05-12 22:29:28 -03:00
Anderson Torres 9bdb3ee175 nixos/tests/hadoop/hdfs.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres 49483ab768 nixos/tests/esphome.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres 1792f2c61c nixos/tests/doh-proxy-rust.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres 18d90beb1a nixos/tests/doas.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres a137b4161d nixos/tests/couchdb.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres 5ee5e4bb46 nixos/tests/common/auto.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres 334b168990 nixos/tests/common/acme/server/default.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres ba6bc92d5e nixos/tests/cadvisor.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres 6d1287bb75 nixos/tests/bazarr.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres a4af083f62 nixos/tests/atuin.nix: get rid of with lib 2023-05-12 22:29:27 -03:00
Anderson Torres 5252e85595 nixos/tests/apparmor.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres 5202b74305 nixos/tests/3proxy.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres 75a76768fe nixos/tests/xautolock.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres f872db7aed nixos/tests/ulogd.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres 714180048b nixos/tests/redis.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres 70e8a86b2b nixos/tests/pantheon.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres d1a2a4cbcc nixos/tests/hibernate.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres 3002c44f48 nixos/tests/gnome.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres ca96a578a5 nixos/tests/gnome-xorg.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres b51ac3bd4c nixos/tests/gnome-flashback.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres defe899239 nixos/tests/fluidd.nix: get rid of with lib 2023-05-12 22:29:26 -03:00
Anderson Torres 4e18039449 nixos/tests/convos.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
Anderson Torres 7aa945d949 nixos/tests/cinnamon.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
Anderson Torres 87586867d6 nixos/tests/calibre-web.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
Anderson Torres b5a6dff664 nixos/tests/budgie.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
Anderson Torres 047734d8e6 nixos/tests/boot-stage1.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
Anderson Torres dc5919aa58 nixos/tests/quake3.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
AndersonTorres 5bba43ec57 nixos/tests/nfs/kerberos.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
AndersonTorres d87f1b8c9f nixos/tests/hardened.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
Anderson Torres 4c6a141720 nixos/modules/rename.nix: get rid of with lib 2023-05-12 22:29:25 -03:00
AndersonTorres 1be3d36336 nixos/maintainers/scripts/lxd/nix.tpl: get rid of with lib 2023-05-12 22:29:25 -03:00
AndersonTorres 80f0839fde nixos/maintainers/scripts/lxd/lxd-image.nix: get rid of with lib 2023-05-12 22:29:24 -03:00
AndersonTorres 0a1db38632 nixos/maintainers/scripts/lxd/lxd-image-inner.nix: get rid of with lib 2023-05-12 22:29:24 -03:00
AndersonTorres 85a7b22c6e nixos/maintainers/scripts/cloudstack/cloudstack-image.nix: get rid of with lib 2023-05-12 22:29:24 -03:00
Martin Weinelt 557f89f5d1
Merge pull request #228492 from LeSuisse/tt-rss-2023-04-13-php81
tt-rss: unstable-2022-10-15 -> unstable-2023-04-13, module use PHP 8.1
2023-05-13 02:17:24 +02:00
github-actions[bot] 2f665c348c
Merge master into staging-next 2023-05-13 00:02:05 +00:00
Harshil Jani aa0b851e83
manual: fix matrix room link (#231523)
Co-authored-by: figsoda <figsoda@pm.me>
2023-05-12 18:55:19 -04:00
Isa c7629a78b7 graylog: let the user decide which version of graylog to use 2023-05-12 20:43:03 +02:00
Isa efbcbc5611 graylog: init at 4.0.8, 4.3.8, 5.0.6 2023-05-12 20:16:05 +02:00
github-actions[bot] 206417b7a2
Merge master into staging-next 2023-05-12 18:01:18 +00:00
nikstur fa09e0a3c7 nixos/filesystems: init erofs
Enable using an erofs filesystem as one of the filesystems needed to
boot the system. This is useful for example in image based deployments
where the Nix store is mounted read only.
[erofs](https://docs.kernel.org/filesystems/erofs.html) offers multiple
benefits over older filesystems like squashfs. Skip fsck.erofs because
it is still experimental.
2023-05-12 19:55:32 +02:00
nikstur 1bd62f43eb nixos/systemd-repart: add myself as maintainer 2023-05-12 18:55:09 +02:00
Katze dfb8a2a7c4
nixos/syncplay: add saltFile and extraArgs option (#220096)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-05-12 18:01:33 +02:00
Martin Weinelt 1c80c494ca
Merge pull request #228422 from mweinelt/gitea-actions-runner-module
nixos/gitea-actions-runner: init
2023-05-12 17:54:16 +02:00
Fabian Möller c51fe112cc
treewide: pass system argument to eval-config.nix
Calling `eval-config.nix` without a `system` from a Nix flake fails with
`error: attribute 'currentSystem' missing` since #230523. Setting
`system = null` removes the use of `currentSystem` and instead uses the
value from the `nixpkgs` module.
2023-05-12 14:56:23 +02:00
github-actions[bot] 30ae8398a9
Merge master into staging-next 2023-05-12 12:01:26 +00:00
Martin Weinelt dc8f1bfe48
Merge pull request #231255 from Ma27/fix-vrf-test
nixos/tests/systemd-networkd-vrf: fix build & clean up
2023-05-12 12:47:54 +02:00
github-actions[bot] 0a82cd9e62
Merge master into staging-next 2023-05-12 08:49:13 +00:00
K900 b136129246
Merge pull request #231293 from K900/libinput-default
nixos/x11/hardware/libinput: enable by default
2023-05-12 09:42:23 +03:00
Federico Damián Schonborn 8e01b9d98c
nixos/budgie: Update description for sessionPath, add example for extraPlugins
Signed-off-by: Federico Damián Schonborn <fdschonborn@gmail.com>
2023-05-11 21:35:27 -03:00
Federico Damián Schonborn 7da8045e7e
budgiePlugins.budgie-analogue-clock-applet: rename from budgie.budgie-analogue-clock-applet
Signed-off-by: Federico Damián Schonborn <fdschonborn@gmail.com>
2023-05-11 21:09:54 -03:00
github-actions[bot] 84352fc449
Merge master into staging-next 2023-05-12 00:01:57 +00:00
Gabriel Fontes e74d936730
nixos/tests/headscale: update test
Version 0.19.0 renamed 'namespace' to 'user'
https://github.com/juanfont/headscale/blob/main/CHANGELOG.md#0190-2023-01-29
2023-05-11 19:31:02 -03:00
Martin Weinelt 3c09f66193
Merge pull request #231096 from kai-tub/vector/add-pkg-opt
vector: add `package` Option
2023-05-11 22:10:20 +02:00
Robert Hensing 2e2f0d28ea nixos: Use checks instead of extraDependencies
... as appropriate.

This drops a few unnecessary store paths from the system closure.
2023-05-11 21:18:38 +02:00
Robert Hensing 5bdf63819b nixos/top-level.nix: Add system.checks
Note that this does not add to the `forbiddenDependenciesRegex`
code because that code check should be unaffected as it only checks
output dependencies, not build dependencies.
Build deps are added after that check, if those are enabled in the
first place.
2023-05-11 21:18:38 +02:00
Arian van Putten 6c0935d466
Merge pull request #231140 from NixOS/rosetta-nix-build
modules/rosetta: configure nix build sandbox to use rosetta
2023-05-11 14:21:54 -04:00
github-actions[bot] b9c14e0e61
Merge master into staging-next 2023-05-11 18:01:13 +00:00
Kai Norman Clasen 3142dd9827 nixosTests.vector: fix race condition 2023-05-11 19:45:47 +02:00
Kai Norman Clasen 8989ea2778 nixos/vector: add package Option 2023-05-11 19:44:50 +02:00
Ilan Joselevich e4298360d4
Merge pull request #231310 from Kranzes/harmonia
nixos/tests/harmonia: check if settings work
2023-05-11 19:23:10 +03:00
Robert Hensing 5c3e59b6d6
Merge pull request #230523 from hercules-ci/fast-nixos-test-eval
Fast nixos test eval
2023-05-11 17:34:46 +02:00
Ilan Joselevich 64d505e227
nixos/tests/harmonia: check if settings work 2023-05-11 18:03:14 +03:00
Robert Hensing 16e3647337 nixos/all-tests: Enable readOnlyPkgs by default for runTest
Most tests are not affected by this because they use the `handleTest`
function instead.
2023-05-11 16:36:49 +02:00
Robert Hensing b0e17891f2 nixos/testing/nodes.nix: Do not rely on disabledModules
It's just not necessary.
2023-05-11 16:24:01 +02:00
Robert Hensing 0f83261f0e nixos/testing: Add node.pkgsReadOnly escape hatch
By adding this option indirection, a test can declare all by itself
that it needs a custom nixpkgs. This is a more convenient way of
going about this when the caller of the test framework receives a
`node.pkgs` unconditionally.
2023-05-11 16:24:01 +02:00
Robert Hensing f659db7ba2 nixos/testing: Add node.pkgs option
By factoring out this logic, it's easier for other projects to make
use of it this optimization too (and do it correctly).
2023-05-11 16:24:00 +02:00
Robert Hensing d0b0f9e441 nixosTests.acme: Use a read-only pkgs
This speeds up evaluation by a factor 2.

Ballpark figures from my machine:

```
$ time nix-build nixos/release.nix -A tests.acme
/nix/store/q4fxp55k64clcarsx8xc8f6s10szlfvz-vm-test-run-acme
/nix/store/lnfqg051sxx05hclva84bcbnjfc71c8x-vm-test-run-acme

real    1m28.142s
user    1m7.474s
sys     0m7.932s

$ time nix-build nixos/release.nix -A tests.acme
/nix/store/q4fxp55k64clcarsx8xc8f6s10szlfvz-vm-test-run-acme
/nix/store/lnfqg051sxx05hclva84bcbnjfc71c8x-vm-test-run-acme

real    0m38.235s
user    0m33.814s
sys     0m2.283s

```
2023-05-11 16:24:00 +02:00
Robert Hensing b213791e7e nixos/all-tests.nix: Add readOnlyPkgs module 2023-05-11 16:24:00 +02:00
K900 9fec1a09bd nixos/x11/hardware/libinput: enable by default
Basically everything Wayland uses this, it's much more actively
maintained than xf86-input-evdev, and we should really be shipping
it by default.
2023-05-11 16:49:10 +03:00
Robert Hensing f212785e1e
Merge pull request #231246 from yayayayaka/gitlab-test-fix-warning
nixosTests.gitlab: Use module system based runner
2023-05-11 15:13:08 +02:00
Robert Hensing 8b2d1e4554
nixos/tests/gitlab.nix: Document running it
`nix-build $file` is not possible anymore, so this helps both newcomers and old hands.
It's documented in the manual, but that's far away.
2023-05-11 14:31:21 +02:00
Naïm Favier ea81a2465e
make-iso9660-image: use __structuredAttrs
Makes it easier to enable discarding of references, a feature of Nix
2.14 which requires structured attrs.
2023-05-11 14:25:44 +02:00
Naïm Favier 56226c4674
make-squashfs: use __structuredAttrs
Makes it easier to enable discarding of references, a feature of Nix
2.14 which requires structured attrs.
2023-05-11 14:25:31 +02:00
github-actions[bot] 387f5d9a5f
Merge master into staging-next 2023-05-11 12:01:42 +00:00
Martin Weinelt 537d611a75 nixos/sshd: Remove algorithms that do MAC-then-encrypt
Algorithms with the -etm suffix calculate the MAC after encryption,
which is generally considered safer.
2023-05-11 12:54:32 +02:00
ajs124 89f2a7f6ee
Merge pull request #231105 from helsinki-systems/upd/mariadb
mariadb: 10.4.29, 10.5.20, 10.6.13, 10.10.4, 10.11.3
2023-05-11 12:49:48 +02:00
ajs124 fbfa1ec989
Merge pull request #231190 from aanderse/nixos/automysqlbackup
nixos/automysqlbackup: add some missing permissions
2023-05-11 12:47:39 +02:00
wrvsrx 05129aab01
nixos/lib: save triggers of systemd into nix store 2023-05-11 17:38:54 +08:00
Maximilian Bosch 501d0a65d4
nixos/tests/systemd-networkd-vrf: clean up
* Removed unused variables
* Deduplicate config for `node{1..3}`
2023-05-11 11:07:54 +02:00
Maximilian Bosch 8ccfd7a659
nixos/tests/systemd-networkd-vrf: fix build
For this round of ZHF: #230712
Failing Hydra build: https://hydra.nixos.org/build/219234565

Not sure why this a problem now and not in the past, but routes to
the corresponding `/24`-subnet are only configured if addresses are
specified with the correct CIDR.
2023-05-11 11:04:56 +02:00
Yaya 439625d5d5 nixosTests.gitlab: Use module system based runner 2023-05-11 07:31:13 +00:00
github-actions[bot] d16e82bf21
Merge master into staging-next 2023-05-11 06:01:36 +00:00
Martin Weinelt ec7af23e7e
Merge pull request #231153 from helsinki-systems/drop/trusted-grub
trustedGrub: remove
2023-05-11 02:05:25 +02:00
github-actions[bot] 079dc4c27d
Merge master into staging-next 2023-05-11 00:02:13 +00:00
Aaron Andersen 55b3b7029d nixos/automysqlbackup: rename config option to settings 2023-05-10 20:00:09 -04:00
Aaron Andersen a73e7383c0 nixos/automysqlbackup: add some missing permissions 2023-05-10 19:57:48 -04:00
Ilan Joselevich a8eea70935
Merge pull request #231113 from Kranzes/harmonia
nixos/harmonia: adjust module and test to upstream, harmonia: 0.6.3 -> 0.6.4
2023-05-11 00:37:41 +03:00
figsoda 9eff400dd9
Merge pull request #230939 from figsoda/sniffnet-module 2023-05-10 17:24:47 -04:00
ajs124 96fbdcedcd trustedGrub: remove 2023-05-10 22:17:56 +02:00
ajs124 1319323458 nixos/grub: turn definition of version option from an error into a warning
because a lot of configurations (generated by nixos-generate-config) contain it
2023-05-10 21:51:26 +02:00
ajs124 30bea8d82d nixos/*: remove boot.grub.version 2023-05-10 21:51:26 +02:00
ajs124 6db7450827 nixos/installer/grub1: remove 2023-05-10 21:51:26 +02:00
Ilan Joselevich 7ecf20b490
nixos/harmonia: adjust module and test to upstream 2023-05-10 22:28:03 +03:00
Arian van Putten a33d032939 modules/rosetta: configure nix build sandbox to use rosetta
With this we can do x86_64 builds on aarch64
2023-05-10 14:28:50 -04:00
Luflosi ada7f14219
kubo: 0.19.2 -> 0.20.0
https://github.com/ipfs/kubo/releases/tag/v0.20.0

When creating a repository with `ipfs init`, `--empty-repo=true` is now the default according to the changelog. Modify the NixOS module to reflect this change and fix the `emptyRepo` setting to work with this change.
2023-05-10 19:50:46 +02:00
ajs124 81244087ab nixosTests.mysql-replication: fix deprecation warning 2023-05-10 18:22:41 +02:00
Aaron Andersen dd2c3b1310 nixos/lxc-container: ensure /sbin/init is updated on nixos-rebuild boot 2023-05-10 11:04:07 -04:00
Ryan Lahfa fe7b996d66
Merge pull request #230857 from s1341/bugfix_pam_sssd
nixos/pam: Allow password changing via sssd
2023-05-10 16:56:47 +02:00
Sandro 84b4373d8c
Merge pull request #230550 from Mic92/harmonia 2023-05-10 16:55:06 +02:00
Sandro dfc76445d0
Merge pull request #228738 from Luflosi/update/aaaaxy 2023-05-10 16:02:19 +02:00
Robert Hensing cd358fe24e nixos/all-tests.nix: Set nixpkgs.system 2023-05-10 15:55:09 +02:00
Robert Hensing e5db80ae48 nixosModules.pkgsReadOnly: init 2023-05-10 15:55:09 +02:00
Robert Hensing 693e2c3287 nixos/eval-config: Remove statically known mkIf
mkIf is unnecessary when the condition is statically known - that is
knowable before entering the module evaluation.

By changing this to a precomputed module, we support changing the
defined options to readOnly options.
2023-05-10 15:55:09 +02:00
Robert Hensing 6e594fedb3 nixos/nixpkgs: Use types.pkgs 2023-05-10 15:55:09 +02:00
Robert Hensing 16d594a0e2 lib.types.pkgs: init
A nominal type.
2023-05-10 15:55:08 +02:00
happysalada 47bedc81f8 uptime-kuma: add defaults for simpler initial setup 2023-05-10 09:54:56 -04:00
Jörg Thalheim 76ffeaf06c nixos/harmonia: init service 2023-05-10 14:52:31 +02:00
Luflosi 220a0f4ca3
nixos/tests/aaaaxy: fix test
It got broken by 5c0aa81909.
The fix is to use a real X server instead of xvfb-run.
2023-05-10 14:45:01 +02:00
Sandro 7b22f5b4a2
Merge pull request #215494 from poelzi/webdav-server-rs-debug 2023-05-10 14:29:26 +02:00
github-actions[bot] 71874015ba
Merge master into staging-next 2023-05-10 12:01:10 +00:00
Jörg Thalheim e758377984
Merge pull request #230926 from bachp/geth-test-zhf
nixos/geth: fix failing test
2023-05-10 07:23:24 +01:00
Pierre Bourdon ac4abaa9d5
nixos/tests/nginx: fix etag test flakiness 2023-05-10 05:01:50 +02:00
github-actions[bot] 2d07e76d1a
Merge staging-next into staging 2023-05-10 00:03:33 +00:00
figsoda 282e5e03a8 nixos/sniffnet: init 2023-05-09 15:53:34 -04:00
asonix cb2941db79 pict-rs: 0.3.0-alpha.37 -> 0.3.3 2023-05-09 15:24:54 -04:00
Pascal Bach 7e14b746c0
Merge pull request #230890 from linyinfeng/tocken
nixos/networkd: fix typo of `tokenBucketFilterConfig`
2023-05-09 20:49:37 +02:00
Pascal Bach 301ec4c067 nixos/geth: fix failing test
Run authrpc on different ports for main and testnet to avoid collision.
2023-05-09 20:35:28 +02:00
github-actions[bot] b5b52a946a
Merge staging-next into staging 2023-05-09 18:02:32 +00:00
Martin Weinelt 42aaea3606
Merge pull request #230889 from mweinelt/shadow-encrypt-method
nixos/shadow: Set default encrypt method
2023-05-09 19:43:06 +02:00
Sandro 8f6cd53206
Merge pull request #229022 from SuperSandro2000/nox-mpv-wayland
nixos/no-x-libs: disable wayland for mpv
2023-05-09 19:07:16 +02:00
Weijia Wang 419d7f9c8d
Merge pull request #230753 from fetsorn/typos
several typos
2023-05-09 19:16:12 +03:00
Atemu 9c946bce87
Merge pull request #230680 from alyssais/netboot-squashfs
nixos/netboot: add squashfsCompression option
2023-05-09 18:13:27 +02:00
Ryan Lahfa fb250ff2c9
Merge pull request #172340 from 06kellyjac/k3d
k3d: rename kube3d to k3d
2023-05-09 18:02:30 +02:00
s1341 d5fd433208 nixos/test/sssd-ldap: do new login on a different VT 2023-05-09 18:51:47 +03:00
Martin Weinelt daf7d8861f
Merge pull request #230871 from IndeedNotJames/nixos-tests-2047mb
nixosTests.gitea,nixosTests.forgejo,nixosTests.wiki-js: fix test on `i686-linux`
2023-05-09 17:22:32 +02:00
s1341 73811d22bb nixos/test/sssd-ldap: nixpkgs-fmt 2023-05-09 18:13:09 +03:00
Lin Yinfeng 1e05869917
nixos/networkd: fix typo of tokenBucketFilterConfig 2023-05-09 23:06:47 +08:00
Martin Weinelt a3c7dcd88d
nixos/shadow: Set default encrypt method
Fixes the default for tools like chpasswd, chgpasswd and gpasswd.

Closes: #230880
2023-05-09 17:05:34 +02:00
Sandro d199137345
Merge pull request #230560 from legendofmiracles/upddate-nodjs-asf 2023-05-09 16:58:52 +02:00
Alyssa Ross e5e49df7fd
nixos/netboot: add squashfsCompression option
This is copied from isoImage.squashfsCompression.  It's useful to be
able to customise, as iteration cycles are very slow with xz, and
subjectively systems booted with less efficiently compressed squashfs
stores appear to have faster reads (although I didn't test that
scientificly so there could be other factors).
2023-05-09 14:15:10 +00:00
Alyssa Ross 096cdeeac4
nixos/iso-image: type isoImage.squashfsCompression 2023-05-09 14:15:02 +00:00
fetsorn 5e77899001 nixos/tpm2: fix typo
"acess" -> "access"
2023-05-09 18:02:17 +04:00
fetsorn 1a4e993104 nixos/prometheus: fix typo
"nixpgs" -> "nixpkgs"
2023-05-09 18:02:17 +04:00
fetsorn f035683f55 nixos/matomo: fix typo
"suported" -> "supported"
2023-05-09 18:02:17 +04:00
fetsorn d1398dd05c nixos/deluge: fix typo
"secuerly" -> "securely"
2023-05-09 18:02:17 +04:00
fetsorn ac5f6d9100 nixos/apparmor: fix typo
"usualy" -> "usually"
2023-05-09 18:02:17 +04:00
purin 9595113480 nixos/openrgb: fix data dir & amd i2c 2023-05-10 01:34:21 +12:00
06kellyjac 6b78c0b80e k3d: add notice of rename in release notes 2023-05-09 14:22:59 +01:00
IndeedNotJames 260ddac146
nixosTests.wiki-js: fix test on i686-linux
Fail pattern:
1. Unsuspecting `qemu-kvm` notice:
```
server # qemu-kvm: at most 2047 MB RAM can be simulated
```

2. Hard fail
```
    self.shell.send(out_command.encode())
BrokenPipeError: [Errno 32] Broken pipe
```

(Took me a while to consider those lines are related)
2023-05-09 15:22:35 +02:00
IndeedNotJames 0cbeb283cf
nixosTests.gitea,nixosTests.forgejo: fix test on i686-linux
Fail pattern:
1. Unsuspecting `qemu-kvm` notice:
```
server # qemu-kvm: at most 2047 MB RAM can be simulated
```

2. Hard fail
```
    self.shell.send(out_command.encode())
BrokenPipeError: [Errno 32] Broken pipe
```

(Took me a while to consider those lines are related)
2023-05-09 15:21:53 +02:00
Martin Weinelt 558b23afe3
Merge pull request #230844 from pennae/mosquitto-test-fix
nixos/mosquitto: use networkd for tests
2023-05-09 14:57:30 +02:00
Martin Weinelt 35a73717df
Merge pull request #218599 from Izorkin/update-peertube
peertube: 5.0.0 -> 5.1.0
2023-05-09 14:37:44 +02:00
ajs124 ae9c464f31
Merge pull request #230822 from helsinki-systems/fix/mariadb-i686-tests
nixos/mariadb: Fix test on i686
2023-05-09 13:16:39 +02:00
Jacek Galowicz b7dfa5082a
Merge pull request #228220 from R-VdP/test_driver_guest_shell_timeout
nixos-test-driver: include a timeout for the recv call, do not assume sh == bash
2023-05-09 13:05:28 +02:00
s1341 20d707c8c4 nixos/test/sssd-ldap: make tests actually check login, password change 2023-05-09 13:46:17 +03:00
s1341 e2d538fead pam: remove unused try_first_pass 2023-05-09 13:45:15 +03:00
s1341 765ae4d581 nixos/pam: allow changing password using sssd 2023-05-09 13:43:06 +03:00
Florian Klink 6c9bef6b0f
Merge pull request #230777 from nikstur/systemd-repart-definitions-in-initrd
systemd-repart definitions in initrd
2023-05-09 13:24:04 +03:00
Sandro 443a8f398a
Merge pull request #230756 from NixOS/fzf-fix 2023-05-09 11:54:38 +02:00
pennae 5f5b5a76b9 nixos/mosquitto: use networkd for tests
the non-networkd backend does not wait for slaac to finish (ie, ipv6
addresses coming out of tentative state), and that breaks the mosquitto
bind_interface test slightly. if slaac takes too long the test will run
into mosquitto restart limits and fail.
2023-05-09 11:41:17 +02:00
Janne Heß 20e186b7e2
nixos/mariadb: Fix test on i686
RocksDB is not built on that platform and the .so is missing
2023-05-09 09:15:52 +02:00
github-actions[bot] b872b6b45c
Merge staging-next into staging 2023-05-09 06:01:52 +00:00
lom ea1cef8c00 ArchiSteamFarm.ui: use buildNpmPackage 2023-05-08 20:34:21 -04:00
Aaron Andersen cf0327810b
Merge pull request #207093 from ymarkus/alertmanager
nixos/alertmanager: add checkConfig option
2023-05-08 20:15:17 -04:00
github-actions[bot] 5b562cf621
Merge staging-next into staging 2023-05-09 00:02:44 +00:00
nikstur d85abd2764 nixos/systemd-repart: definition files in initrd
Store the definition files in the initrd instead of reading them from
the Nix store in /sysroot.

This way, the initrd has to be re-generated every time the definition
files change. When the path to the defintion files instead of the
definition files themselves are embedded in the initrd, however, the
initrd also has to be re-generated every time. In this regard, this
change does not improve the status quo.

However, now systemd-repart also works reliable when the Nix store is
mounted separately from the root partition.

This change also enables new use-cases like creating partitions
necessary to boot the system. However, by default, the root partition
cannot be created on first boot because the systemd-repart service
requires a /sysroot to be mounted. Otherwise, systemd-repart cannot
determine the device to operate on.
2023-05-09 00:11:21 +02:00
Matthias Berndt 8aa320b4c2 address code review issues 2023-05-08 23:18:55 +02:00
nikstur 5c2a7490cf nixos/systemd-repart: fix
Since v253, systemd-repart tries to create temporary directories in
/var/tmp. However, this directory doesn't exist in the initrd. This
commit adds an enviroment variable to re-use the existing /tmp directory
instead of /var/tmp.
2023-05-08 23:12:59 +02:00
Izorkin 1afcb4c6ef
nixos/peertube: update nginx configuration 2023-05-08 23:49:03 +03:00
Izorkin 8d76c0b6fb
peertube: 5.0.0 -> 5.1.0 2023-05-08 23:48:32 +03:00
Ryan Lahfa 43a413de73
Merge pull request #230731 from NixOS/bump/netdata
netdata: 1.38.1 -> 1.39.0
2023-05-08 21:59:56 +02:00
Sandro Jäckel edf57fef9b
nixos/fzf: fix evaluation if ohMyZsh is enabled 2023-05-08 21:10:28 +02:00
github-actions[bot] 54295bf976
Merge staging-next into staging 2023-05-08 18:02:09 +00:00
Raito Bezarius 16658f7634 nixos/netdata: introduce deadlineBeforeStopSec
Previously, we hardcoded a 60 second timer to stop netdata if we didn't have any answer back.
This is wrong and can cause data loss because the SIGTERM sent by systemd can sometimes be not honored.
Which in turn becomes a SIGKILL, causing potential data loss / corruption.

Offer a flag to users and bump the deadline to 2 minutes.
2023-05-08 19:29:13 +02:00
Ryan Lahfa 98167d573d
Merge pull request #229313 from mped-oticon/mped_proxmox_assert
nixos/proxmox-image: Disable O_DIRECT to fix assert when writing to tmpfs
2023-05-08 16:11:40 +02:00
Atemu cb0f64e45d
Merge pull request #230665 from alyssais/iso-image-targetPlatform
nixos/iso-image: targetPlatform -> hostPlatform
2023-05-08 15:06:48 +02:00
Alyssa Ross ecc1ec2c72 llvmPackages_latest: move to aliases.nix
Because llvmPackages_latest is used in Nixpkgs, by quite a few
packages, it's difficult to keep it up to date, because updating it
requires some level of confidence that every package that uses it is
going to keep working after the update.  The result of this is that
llvmPackages_latest is not updated, and so we end up in the situation
that "latest" is two versions older than the latest version we
actually provide.  This is confusing and unexpected.

"But won't this end up fragmenting our LLVM versions, if every package
previously using _latest is separately pinned to LLVM 14?", I hear you
ask.  No.  That fragmentation is already happening, even with an
llvmPackages_latest, because packages that actually require the
_latest_ version of LLVM (15/16), have already been decoupled from
llvmPackages_latest since it hasn't been upgraded.  So like it or not,
we can't escape packages depending on specific recent LLVMs.  The only
real fix is to get better at keeping the default LLVM up to
date (which I'm reasonably confident we're getting into a better
position to be feasibly better able to do).

So, unless we want to double down on providing a confusingly named
"llvmPackages_latest" attribute that refers to some arbitrary LLVM
version that's probably not the latest one (or even the latest one
available in Nixpkgs), we only have two options here: either we don't
provide such an attribute at all, or we don't use it in Nixpkgs so we
don't become scared to bump it as soon as we have a new LLVM available.
2023-05-08 13:05:33 +00:00
Weijia Wang 6a139314d8
Merge pull request #230653 from wineee/nixos/release.nix
nixos/release: add deepin closure
2023-05-08 15:47:47 +03:00
Nick Cao aa7197b091
Merge pull request #230539 from OPNA2608/update/miriway
miriway: unstable-2023-03-17 -> unstable-2023-04-25
2023-05-08 20:27:47 +08:00
Alyssa Ross bf7de549b9
nixos/iso-image: targetPlatform -> hostPlatform
This is not a compiler, and therefore does not need to care about the
target platform.
2023-05-08 11:50:06 +00:00
Mark Ruvald Pedersen 66fb2f539a nixos/proxmox-image: Disable O_DIRECT to fix assert
Context summary:
'vma create' can't otherwise write to tmpfs such as /dev/shm.
This is important when used from non-nixos machines which may
have /build as tmpfs.

VMA is Proxmox's virtual machine image format that wraps QEMU images,
augmenting these with proxmox-specific configuration file.
proxmox-image.nix uses the VMA tool to create vma image files.
The VMA tool exists as a patchset ontop of QEMU.

VMA writes its output with open() and O_DIRECT flag.
O_DIRECT does not work on Linux tmpfs [1]. Thus:
$ vma create ~/output.vma ...  # works, assuming home isn't tmpfs.
$ vma create /dev/shm/output.vma ...  # fails since /dev/shm is tmpfs
Failure results in assert(*errp == NULL).

O_DIRECT is a cache performance hint.
But it currently blocks our usage of nixos-generate -f proxmox from
Non-NixOS hosts and Docker.

The patch here simply removes O_DIRECT:
vma-writer.c later performs memalign due to O_DIRECT, but this is
safe to do with or without O_DIRECT.
Ideally, this should be fixed in upstream Proxmox: Perhaps by falling
back to open without O_DIRECT.

Another attempt to fix this SIGABRT is [2], which writes the vma file
directory to $out/ folder -- however that may still be tmpfs mounted
which it is in our case.

[1] https://lore.kernel.org/lkml/45A29EC2.8020502@tmr.com/t/
[2] https://github.com/NixOS/nixpkgs/pull/224282
2023-05-08 12:33:41 +02:00
rewine 82c778627d
nixos/release: add deepin closure 2023-05-08 18:25:41 +08:00
Jörg Thalheim 3288479636 nixos/envfs: make mounts non-critical
We usually don't want to bring the whole machine into emergency mode
just because we couldn't mount envfs. It's usually not on the critical
path.
2023-05-08 11:24:18 +02:00
github-actions[bot] 4532c723ec
Merge staging-next into staging 2023-05-08 00:02:49 +00:00
Sandro 6197953fb6
Merge pull request #207106 from autrimpo/gonic-module
nixos/gonic: init
2023-05-08 01:28:24 +02:00
Michal Koutenský 8118e3de43 nixos/gonic: init 2023-05-07 22:43:23 +02:00
Ilan Joselevich 6a751fe806
Merge pull request #227765 from zhaofengli/darling
darling: init at unstable-2023-05-02
2023-05-07 22:29:02 +03:00