Commit graph

8812 commits

Author SHA1 Message Date
github-actions[bot] 7b86eb63e7
Merge master into staging-next 2024-08-09 12:01:12 +00:00
Rick van Schijndel 0a21feb643
Merge pull request #327842 from cafkafk/kubernetes-feature-gate-refactor
nixos/kubernetes: refactor feature gates to attrsOf bool, making it possible to disable featureGates
2024-08-09 08:24:47 +02:00
Patrick ea4107aba0
nixosTest.homebox: init 2024-08-08 20:01:50 +02:00
OPNA2608 39ca1bebb4 tests/lomiri: Try to fix polkit password entry on ARM
Hopefully not just a placebo, but it worked on my machine.
2024-08-08 19:59:47 +02:00
OPNA2608 fa5d67862c tests/lomiri: Start splitting into multiple sub-tests
Because ARM hardware is starting to have serious issues with completing everything, due to

- A seemingly harmless Lomiri crash & restart early on eating up some time (adding more RAM seemed to have helped with that?), and
- Every OCR usually taking multiple minutes to complete

So start splitting them up into parts

- greeter, for testing just the greeter
- desktop, for general app stuff
- desktop-ayatana-indicators, for checking indicators (OCR-heavy & especially slow)

Currently passing on my hardware, but might need to be split up more in the future.
2024-08-08 17:10:13 +02:00
OPNA2608 9c429cbc28 tests/lomiri: Prepare for splitting 2024-08-08 17:10:13 +02:00
OPNA2608 c384f677ea tests/lomiri: nixfmt 2024-08-08 17:10:12 +02:00
OPNA2608 06013bc2c7 tests/lomiri: Fix polkit agent test
We're starting to get stuck in OCR of the polkit pop-up.

Just assume that it shows up, send password, and expect the pkexec'd command to work.
2024-08-08 17:10:12 +02:00
github-actions[bot] 4f6f7d0791
Merge master into staging-next 2024-08-08 10:12:08 +00:00
nikstur fa12935a32
Merge pull request #333006 from nikstur/static-mtab
nixos/systemd-tmpfiles: create /etc/mtab via environmemt.etc instead of tmpfiles
2024-08-08 12:00:07 +02:00
Ivan Trubach 6008ed89f6 nixos/prometheus.exporters.pgbouncer: do not assume that pgbouncer runs on localhost
PgBouncer instance running on localhost may not be the on being
monitored in connectionString. Remove checks that forbid valid
configuration from being used and instead document requirements for
PgBouncer configuration when used with the exporter.
2024-08-08 05:54:45 +03:00
Ivan Trubach bfb9d1825d nixos/pgbouncer: add services.pgbouncer.settings option
This change adds services.pgbouncer.settings option as per [RFC 0042]
and deprecates other options that were previously used to generate
configuration file.

In addition to that, we also place the configuration file under
environment.etc to allow reloading configuration without service
restart.

[RFC 0042]: https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md
2024-08-08 05:54:26 +03:00
github-actions[bot] 0bc8d4924e
Merge master into staging-next 2024-08-07 18:01:07 +00:00
nikstur 9e720a5881 nixos/systemd-tmpfiles: create /etc/mtab via environmemt.etc instead of tmpfiles
This enables an immutable /etc via `system.etc.overlay.mutable = false`.
2024-08-07 16:12:37 +02:00
Johann Wagner d1d58d4141 nixos/tests/librenms: Adding db seed to have admin role 2024-08-07 15:18:29 +02:00
github-actions[bot] addc823ceb
Merge master into staging-next 2024-08-07 12:01:21 +00:00
Johann Wagner b18f49a472
nixos/tests/librenms: Using services.snmpd module for tests to fix test timeouts (#332925) 2024-08-07 10:19:40 +02:00
github-actions[bot] e80257fbed
Merge master into staging-next 2024-08-07 00:02:22 +00:00
Thiago Kenji Okada cb91750451
Merge pull request #297434 from Vonfry/init-ly-module
add nixos/ly module and package update
2024-08-06 19:32:22 +01:00
github-actions[bot] 5ca6720152
Merge master into staging-next 2024-08-06 18:01:00 +00:00
Sandro 5d43833452
Merge pull request #325861 from Scrumplex/nixos/vaultwarden/fix-backup-24.11 2024-08-06 14:02:56 +02:00
github-actions[bot] 6c87856002
Merge staging-next into staging 2024-08-06 12:01:45 +00:00
Franz Pletz 97ebf11501
Merge pull request #319422 from jmbaur/systemd-boot-devicetree 2024-08-06 13:39:29 +02:00
Fea 0c9cb0041b nixos/misskey: init 2024-08-06 12:24:15 +02:00
github-actions[bot] cf88251824
Merge staging-next into staging 2024-08-05 18:01:40 +00:00
Martin Weinelt 2eb23c4472
Merge pull request #332507 from mweinelt/pretix-fixes
pretix: variouss fixes
2024-08-05 19:07:34 +02:00
Sandro 8b43ee5545
Merge pull request #330522 from xokdvium/dev/init-rathole
nixos/rathole: init module
2024-08-05 18:07:25 +02:00
Martin Weinelt a1842b95db
nixos/tests/pretix: include zugferd plugin
Germany from 2025 requires invoice with digital embeds, that are provided
by the zugferd plugin.
2024-08-05 17:43:45 +02:00
Vladimír Čunát d4720e9c1e
Merge branch 'staging-next' into staging
There was a nontrivial conflict in pkgs/stdenv/linux/bootstrap-tools*
(reorganizing code vs. modifying it)  I hope I really got it right.
2024-08-05 11:05:55 +02:00
Aleksana 322ec69494
Merge pull request #331790 from RaitoBezarius/drop-pixelfed-mtn
pixelfed: drop raitobezarius as a maintainer
2024-08-04 19:24:51 +08:00
Aleksana a2424528a5
nixosTests.pixelfed: remove unused function argument 2024-08-04 17:52:17 +08:00
Aleksana db9f79b8f9
Merge pull request #331682 from trofi/nixosTests.bittorrent-no-alias
nixosTests.bittorrent: avoid use of an alias
2024-08-03 23:25:38 +08:00
Alyssa Ross ba0d495264
linux_6_8,linux_6_9: remove
EOL upstream.

This seems to mean we no longer need any patches to support modern
Rust versions in the kernel!
2024-08-03 16:28:30 +02:00
Vonfry 0849e0fe7a
nixos/ly: init module 2024-08-03 19:56:25 +08:00
github-actions[bot] 931cf50e01
Merge staging-next into staging 2024-08-02 18:01:49 +00:00
Emily ecf7c683c2
Merge pull request #319807 from hellodword/nixos-restic-add-unlock
nixos/restic: ensure newline in --files-from
2024-08-02 18:18:47 +02:00
Raito Bezarius 77a4902508 pixelfed: drop raitobezarius as a maintainer
I'm not using seriously Pixelfed those days, this software is
non-trivial and the NixOS module seems to have some sharp edges.

Change-Id: Ie93df9dcb00d0a58bd5e4165e377979c489af0b0
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-08-02 16:47:09 +02:00
❄️ 778a8d30c8
Merge pull request #330838 from rorosen/k3s-images-archive
k3s: add airgap images to passthru attributes
2024-08-02 11:23:15 -03:00
Sergei Trofimovich cdc9919a56 nixosTests.bittorrent: avoid use of an alias
By default the use of alias generates warning:

    $ nix build --no-link -f. nixosTests.bittorrent
    evaluation warning: transmission has been renamed to transmission_3 since transmission_4 is also available. Note that upgrade caused data loss for some users so backup is recommended (see NixOS 24.11 release notes for details)

When alaises are disabled that causes the eval failure:

       error: attribute 'transmission' missing
       at /home/slyfox/dev/git/nixpkgs/nixos/tests/bittorrent.nix:24:36:
           23|   transmissionConfig = { ... }: {
           24|     environment.systemPackages = [ pkgs.transmission ];
             |                                    ^
           25|     services.transmission = {
       Did you mean one of transmission_3 or transmission_4?
2024-08-02 06:53:04 +01:00
github-actions[bot] 203fa1d4a2
Merge staging-next into staging 2024-08-02 00:02:35 +00:00
František Hanzlík 8b4cd01f90
nixos/networkd: allow specifying FirewallMark mask 2024-08-01 22:22:01 +02:00
Jared Baur 22199c70d4
nixos/systemd-boot: add test for devicetree 2024-08-01 11:18:32 -07:00
github-actions[bot] 6005fb81f3
Merge staging-next into staging 2024-08-01 18:01:28 +00:00
Emily accd3aa082
Merge pull request #331187 from emilylange/forgejo
forgejo: refactor to support multiple versions, 7.0.5 -> 8.0.0, forgejo-lts: init at 7.0.6
2024-08-01 15:07:21 +02:00
K900 a4a42b3aec Merge remote-tracking branch 'origin/staging-next' into staging 2024-08-01 08:57:50 +03:00
Christina Sørensen 32ca66f3ed
nixos/kubernetes: refactor feature gates to attrsOf bool, making it possible to disable featureGates
This is a breaking change, requiring users of `featureGates` to change
from a `listOf str` to `attrsOf bool`.

Before:
```nix
featureGates = [ "EphemeralContainers" ];
extraOpts = pkgs.lib.concatStringsSep " " (
[
  "--container-runtime=remote"
  ''--feature-gates="CSIMigration=false"''
});
```

After:
```nix
featureGates = {EphemeralContainers = true; CSIMigration=false;};
```

This is much nicer, and sets us up for later work of migrating to
configuration files for other services, like e.g. has been happening
with kubelet (see: #290119).

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-08-01 07:51:34 +02:00
hellodword e4a4da8794
nixos/restic: ensure newline in --files-from 2024-08-01 02:07:38 +00:00
Will Fancher 2818172c0a
Merge pull request #331186 from ElvishJerricco/systemd-256.4
systemd: 256.2 -> 256.4, bootctl update regression fix
2024-07-31 12:37:04 -04:00
Julien Malka f240543c7f
nixos/tests/systemd-boot: fix option bootCounting test evaluation 2024-07-31 17:13:06 +02:00
Sandro 46784713e5
Merge pull request #325639 from OPNA2608/init/lomiri/lomiri-camera-app 2024-07-31 13:59:03 +02:00
euxane 4f2da6c9c1 nixos/fcgiwrap: add option migration instruction errors
This adds migration instructions for the removed global shared instance
configuration of fcgiwrap.

Adding those explicit messages to the previous options requires moving
the newly defined options from `services.fcgiwrap.*` to
`services.fcgiwrap.instances.*` due to an option namespace clash.

`mkRenamedOptionModule` was not used because the previous options do
not directly map to the new ones. In particular, `user` and `group`
were described as setting the socket's permission, but were actually
setting the process' running user.

Co-authored-by: Minijackson <minijackson@riseup.net>
2024-07-31 11:02:37 +02:00
Bruno BELANYI e20e12a9c7
Merge pull request #330956 from DCsunset/gotify-module-update
nixos/gotify-server: support all config options and custom package
2024-07-31 08:22:23 +01:00
Masum Reza 324f3f75f3
Merge pull request #316823 from numinit/armagetronad-fix-install-check
armagetronad: update 0.4; fix possible problem in installCheckPhase
2024-07-31 10:20:18 +05:30
Will Fancher 424415e756 nixos/systemd-boot: Fix 'bootctl update' regression
https://github.com/systemd/systemd/issues/33392
2024-07-30 22:53:14 -04:00
emilylange bde28ca593
nixos/tests/forgejo: add forgejo-lts variant 2024-07-31 03:59:13 +02:00
Morgan Jones d968402cd5
tests/armagetronad: increase timeout for busy Hydra server 2024-07-30 16:49:58 -07:00
DCsunset a191e88a1a nixos/gotify-server: update test 2024-07-30 17:40:17 -04:00
Robert Rose 3ac993566c nixos/k3s: add test for airgap images import
Add a nixos test that imports the airgap images
archive and checks whether all expected images are
successfully loaded by k3s.
2024-07-30 21:14:25 +02:00
Robert Rose eeacf85fb9 k3s: add airgap images to passthru attributes
The k3s update script filters the assets of a
corresponding release for airgap images archives
and provides these as passthru attributes of the
k3s derivation. We use zstd archives, as these
offer the best compression ratios and decompression
speed. Furthermore, the `airgapImages` passthru
provides the images archive that matches the host
platform architecture, however, this only works
for aarch64 and x86_64. In addition, a txt file
listing all container images of a release is made
available via a passthru attribute. The airgap
images archives can be combined nicely with the
`services.k3s.images` option, e.g. to pre-provision
k3s nodes for environments without Internet
connectivity.
2024-07-30 21:14:17 +02:00
Emily d21a082a4d
Merge pull request #296691 from helsinki-systems/feat/restic-systemd-inhibit
nixos/restic: add option to inhibit going to sleep
2024-07-30 20:45:56 +02:00
Morgan Jones da4c9eb47b
tests/armagetronad: increase memory allocation 2024-07-30 11:32:13 -07:00
Sigmanificient aab1113d4a treewide: normalize maintainers list formatting
grep -rP 'maintainers = \[\];'
2024-07-30 16:26:22 +02:00
OPNA2608 6e42f74cf9 tests/lomiri: Drop OCR for starter content
It has started to take 10 minutes to get a match, and we open the starter more than once.

Let's just drop this check, ydotool helps alot with getting it open more reliably.
2024-07-30 13:26:09 +02:00
OPNA2608 b45fe2e63c tests/lomiri-camera-app: init 2024-07-30 13:26:09 +02:00
Masum Reza 15aa26cee0
Merge pull request #318815 from OPNA2608/init/miracle-wm
miracle-wm: init at 0.3.0
2024-07-30 14:56:47 +05:30
Jonathan Davies 382f37aa40
nixos/vector: Delete superfluous host field from demo_logs source in Quickwit test 2024-07-29 21:51:02 +01:00
OPNA2608 5659ea3d6b tests/miracle-wm: init 2024-07-29 15:19:47 +02:00
Robert Hensing c38f9ee113
Merge pull request #324789 from NixOS/devShellTools-env
`devShellTools`: add environment functions
2024-07-29 10:00:40 +02:00
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Robert Hensing 1a70c803cb Format 2024-07-29 00:23:05 +02:00
Robert Hensing b5389e2ae9 nixosTests.docker-tools-nix-shell: Enable on aarch64-linux
The docker-tools test, where this originates, was not run on aarch64-linux, but this is an artifact of its age more so than anything else.

Co-authored-by: Ivan Trubach <mr.trubach@icloud.com>
2024-07-29 00:23:05 +02:00
Robert Hensing 6881d9b181 nixosTests.docker-tools-nix-shell: Extract
These tests should run as part of the `tests.devShellTools` suite,
and they're a significant portion of the general docker tools test
duration.
2024-07-28 23:19:56 +02:00
Vladimír Čunát a5b2fe7374
Merge #328673: staging-next 2024-07-20 2024-07-28 13:45:55 +02:00
Robert Hensing 4ca52fdf5f
Merge pull request #323613 from CyberShadow/fix-nix-path-without-channels-v2
nix-channel: do not set empty nix-path when disabling channels
2024-07-28 13:31:10 +02:00
Florian 2c5b304712
Merge pull request #219942 from vsharathchandra/druid_nix_module
nixos/druid: init module and package
2024-07-28 11:02:06 +02:00
sharath.v 99438044e7 druid: add passthru test 2024-07-28 07:20:16 +00:00
Sergei Zimmerman e3e6e94010
nixos/rathole: init module
Adds a module for rathole package. The package itself
and this module is very similar to frp, so the options
and tests are not very far off from those for frp.
2024-07-28 01:25:01 +03:00
K900 24076029d2 Merge remote-tracking branch 'origin/master' into staging-next 2024-07-28 01:04:35 +03:00
Julien Malka 3d3c0f4d34
Merge pull request #330017 from Mic92/boot-counting
nixos/systemd-boot: init boot counting
2024-07-27 19:53:49 +02:00
Vladimír Čunát 64c6a981fe
Merge branch 'master' into staging-next 2024-07-27 09:18:58 +02:00
Bobby Rong eb084d18d3
Merge pull request #330174 from bobby285271/upd/pantheon
Pantheon updates 2024-07-26
2024-07-27 12:38:35 +08:00
Bobby Rong 759ee151e7
nixosTests.pantheon: Disable flaky test for closing multitasking view
org.freedesktop.DBus.Error.NoReply sometimes.
2024-07-27 11:32:27 +08:00
Silvan Mosberger b6a3ee75cd
Merge pull request #324688 from philiptaron/__attrsFailEvaluation/linuxKernel
linuxPackages: remove __attrsFailEvaluation since the attrset evaluates
2024-07-27 02:28:35 +02:00
Nick Cao 84fa4de5d8
Merge pull request #328728 from NickCao/keycloak-metrics-spi
keycloak.plugins.keycloak-metrics-spi: 5.0.0 -> 6.0.0
2024-07-26 19:21:59 -04:00
Jörg Thalheim cd8166ed1c
Merge pull request #329731 from ju1m/radicle
nixos/radicle: fix support of absolute file paths for SSH keys
2024-07-26 20:25:23 +02:00
Julien Malka 64edc7f00f nixos/systemd-boot: init boot counting
Update nixos/modules/system/boot/loader/systemd-boot/boot-counting.md

Co-authored-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
2024-07-26 20:04:37 +02:00
Martin Weinelt 93f4195fe0
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/applications/graphics/seamly2d/default.nix
2024-07-26 18:05:04 +02:00
K900 26801aa449 Merge remote-tracking branch 'origin/master' into staging-next 2024-07-26 14:31:21 +03:00
Sigmanificient 6dd44107ac treewide: remove unused lib (and other) arguments 2024-07-26 11:18:09 +02:00
Pol Dellaiera ceda66b310
Merge pull request #251687 from martinetd/cryptpad
nixos/cryptpad: init, cryptpad: init at 2024.6.0
2024-07-26 09:21:51 +02:00
K900 1410c766c8 Merge remote-tracking branch 'origin/master' into staging-next 2024-07-26 08:41:08 +03:00
Aleksana 19276533a7
Merge pull request #329968 from carbolymer/jackett-configurable-port
nixos/jackett: add configurable port
2024-07-26 11:23:05 +08:00
Philip Taron 38ffd739cf
linuxPackages: remove __attrsFailEvaluation since the attrset evaluates 2024-07-25 17:32:14 -07:00
Yt 60bee661ea
Merge pull request #329905 from scvalex/livebook-without-cookie
livebook: fix service not starting when LIVEBOOK_COOKIE was not set
2024-07-25 22:42:05 +00:00
Mateusz Galazyn a0906cbd16
nixos/jackett: add configurable port 2024-07-25 20:33:39 +02:00
github-actions[bot] 2567b049bd
Merge master into staging-next 2024-07-25 18:00:59 +00:00
Alexandru Scvortov 742ee97845 livebook: fix service not starting when LIVEBOOK_COOKIE was not set 2024-07-25 17:17:41 +01:00
❄️ 5f2a6de6f9
Merge pull request #328385 from rorosen/k3s-kubelet-config
nixos/k3s: add options for graceful node shutdown and kubelet config
2024-07-25 10:19:16 -03:00
Julien Moutinho 43c36273b2 nixos/radicle: fix support of absolute file paths for SSH keys 2024-07-24 22:07:53 +02:00
github-actions[bot] 7208220b63
Merge master into staging-next 2024-07-24 18:01:18 +00:00