Commit Graph

8737 Commits

Author SHA1 Message Date
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
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
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
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
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
Sandro
5d43833452
Merge pull request #325861 from Scrumplex/nixos/vaultwarden/fix-backup-24.11 2024-08-06 14:02:56 +02: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
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
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
Vonfry
0849e0fe7a
nixos/ly: init module 2024-08-03 19:56:25 +08: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
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
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
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
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
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