Commit Graph

8172 Commits

Author SHA1 Message Date
Pyrox
b4fd1b4fe2
nixos/tests/prometheus-exporters: Fix test failure
This fixes an issue with the test where olcDbDirectory must be a
subdirectory of /var/lib/openldap, but is not configured as such, so the
test fails.

All other tests pass properly.
2024-04-24 17:13:51 -04:00
github-actions[bot]
0977f8605c
Merge master into staging-next 2024-04-24 12:01:23 +00:00
Thomas Gerbet
ecd2d35be0
Merge pull request from tomfitzhenry/ssh-no-pam
nixos/ssh: expose UsePAM and PrintMotd as options
2024-04-24 09:40:24 +02:00
Adam Stephens
6c359d6488
forgejo: 1.21.11-1 -> 7.0.0 2024-04-23 19:04:25 -04:00
github-actions[bot]
e50548dc95
Merge master into staging-next 2024-04-23 18:01:16 +00:00
Adam C. Stephens
d274696071
Merge pull request from mweinelt/incus-vtpm
nixos/incus: add support for software TPMs
2024-04-23 09:24:21 -04:00
Tom Fitzhenry
2e51a2fd03 nixos/ssh: allow UsePAM to be disabled 2024-04-23 22:40:58 +10:00
Tom Fitzhenry
41911ed9d2 tests/openssh: tidy up tests
This test renames server_allowedusers to server-allowed-users.

As a side-effect, since IPs are allocated to machines in alphabetical order,
the IP assigned to server-lazy-socket changed, so the corresponding test had
its IP updated.
2024-04-23 22:39:02 +10:00
github-actions[bot]
0c36ffa13e
Merge master into staging-next 2024-04-23 12:01:30 +00:00
Martin Weinelt
8541ec6d85
nixos/incus: add support for software TPMs
Was previously broken due to a missing runtime dependency.

> Error: Failed to start device "vtpm": Failed to validate environment: Required tool 'swtpm' is missing
2024-04-23 12:04:14 +02:00
Florian Klink
5a2d4496d3
Merge pull request from r-vdp/systemd-unit-names
systemd: add a name option to all systemd units
2024-04-23 12:58:51 +03:00
Sigmanificient
1cdb19472c qtile: add passthru tests 2024-04-22 19:00:41 +02:00
misuzu
1c99cea684 castopod: remove misuzu from maintainers 2024-04-22 19:19:48 +03:00
misuzu
4146e6ea38 gotosocial: remove misuzu from maintainers 2024-04-22 19:19:01 +03:00
Sergei Trofimovich
57d31b8c54 redlib.tests: fix eval
Without the change the eval fails as:

    $ nix build --no-link -f. redlib.tests
    error: attribute 'redlib' missing
       at pkgs/by-name/re/redlib/package.nix:50:26:
           49|   passthru.tests = {
           50|     inherit (nixosTests) redlib;
             |                          ^
           51|   };
       Did you mean redis?
2024-04-22 07:32:22 +01:00
github-actions[bot]
9c36f57e91
Merge staging-next into staging 2024-04-22 06:01:32 +00:00
Vir Chaudhury
4a0a12efc2 nixos/isolate: add tests 2024-04-22 10:19:42 +08:00
Weijia Wang
5cb9d83fb8
Merge pull request from KamilaBorowska/maintainers-remove-kamilaborowska
maintainers: remove KamilaBorowska
2024-04-22 04:02:28 +02:00
Robert Schütz
926d688d04
Merge pull request from dotlambda/python3Packages.recurring-ical-events
python312Packages.recurring-ical-events: 2.1.3 -> 2.2.0
2024-04-22 01:48:51 +00:00
Kamila Borowska
0d3b34f45a maintainers: remove KamilaBorowska 2024-04-21 22:26:12 +02:00
github-actions[bot]
3fc84a9b46
Merge staging-next into staging 2024-04-21 18:01:29 +00:00
Tom Fitzhenry
00ad4eba21 nixos/tests/phosh: check phosh-mobile-settings starts 2024-04-22 00:56:03 +10:00
Michele Guerini Rocco
8b93a430dc
Merge pull request from rnhmjoj/pr-fix-wpa-secrets
nixos/wireless: correctly handle secrets containing &
2024-04-21 16:07:42 +02:00
rnhmjoj
89a1bde018
nixos/wireless: correctly handle secrets containing &
In the replacement arg of gsub() the & symbol is a special character
that need to be escaped. To avoid this, and further issues due to the
variable name possibly being interpreted as a regex, we do a normal
substring replacement.

This fixes issues .
2024-04-21 09:58:26 +02:00
rnhmjoj
4d2f457f6e
nixos/tests/wpa_supplicant: test allowAuxiliaryImperativeNetworks 2024-04-21 09:53:59 +02:00
github-actions[bot]
2f68e54184
Merge staging-next into staging 2024-04-21 00:02:52 +00:00
Weijia Wang
20e0c45c7a
Merge pull request from atorres1985-contrib/earlyoom
earlyoom: 1.7 -> 1.8
2024-04-20 23:06:06 +02:00
Sandro
5bfe2b6964
Merge pull request from devusb/sunshine-module
nixos/sunshine: init
2024-04-20 21:32:50 +02:00
Wolfgang Walther
945a3bbb8b
postgresqlPackages.promscale_extension: remove deprecated and broken package
postgresql14Packages.promscale_extension breaks with:

  Error:
    0: `pgx-0.6.1` shouldn't be used with `cargo-pgx-0.7.4`,
    please use `pgx = "~0.7.4"` in your `Cargo.toml`.

However, pinning cargo-pgx to 0_6_1 via the following

  buildPgxExtension.override { cargo-pgx = cargo-pgx_0_6_1; }

does not work either, because the build then fails with:

  thread 'main' panicked at /build/promscale_extension-0.8.0-vendor.tar.gz/proc-macro2/src/fallback.rs:756:9:
  "__mbstate_t_union_(unnamed_at_/nix/store/ij144ma6vs8acil8r9hgr8xkb1dp9azg-glibc-2_39-5-dev/include/bits/types/__mbstate_t_h_16_3)" is not a valid Ident

This seems to be related to [1], which indicates that this is a
problem with newer LLVM / clang toolchains.

At the same time th upstream package is deprecated / archived since
the 2nd of April 2024 [2]. Additionally this package is unfree and
thus very unlikely to be forked. Since we can't expect this to be
fixed, the only sensible thing to do is to remove the package.

[1]: https://github.com/rust-lang/rust-bindgen/issues/2312
[2]: https://github.com/timescale/promscale/issues/1836
2024-04-20 20:10:13 +02:00
github-actions[bot]
3aa8ef1d54
Merge staging-next into staging 2024-04-20 12:01:42 +00:00
Pol Dellaiera
e540698524
Merge pull request from savyajha/firefly-iii
firefly-iii: init at 6.1.13, nixos/firefly-iii: init
2024-04-20 13:56:08 +02:00
github-actions[bot]
31e54e481c
Merge staging-next into staging 2024-04-20 00:02:38 +00:00
Maxine Aubrey
bc41aa7225
Merge pull request from Janik-Haag/drop-piegames-from-gnome-plugins
gnomeExtensions: drop piegames from maintainers
2024-04-19 20:05:39 +02:00
Janik H.
c8d5a4ca24
gnomeExtensions: drop piegames from maintainers
upon request of @piegamesde
2024-04-19 20:04:32 +02:00
Ryan Horiguchi
c60dd90d1f nixos/adguardhome: update config to match new schema 2024-04-19 18:42:52 +02:00
Maximilian Bosch
cba6af761a
Merge pull request from wolfgangwalther/postgresql-cleanup
postgresql: more cleanup
2024-04-19 13:53:20 +00:00
Anderson Torres
7b7ccd525c nixosTests.earlyoom: add AndersonTorres as maintainer 2024-04-19 09:50:56 -03:00
Leona Maroni
3905a63bdc
Merge pull request from e1mo/paperless-always-eng
nixos/paperless: Always buidl tesseract with english
2024-04-19 12:07:02 +02:00
e1mo
7067c4b0bb
nixosTests.paperless: Test tesseract compiles when english is not staged
Tests for the regression introduced in  and fixed in
f0721f3779.
2024-04-19 10:48:08 +02:00
Rick van Schijndel
e00a40a257
Merge pull request from gvolpe/lib/transposeMap
lib/attrsets: add mapCartesianProduct function
2024-04-19 08:26:09 +02:00
Weijia Wang
5448017c98
Merge pull request from OPNA2608/fix/lomiri/network-indicator-work
lomiri.lomiri-network-indicator: Make it work, add it to Lomiri module
2024-04-18 18:57:56 +02:00
Adam C. Stephens
67b5379607
Merge pull request from adamcstephens/lxd/cpu-hotplug
nixos/lxd-virtual-machine: enable CPU hotplug for x86_64
2024-04-18 11:55:34 -04:00
Adam Stephens
76c69af624
nixos/lxd-virtual-machine: enable CPU hotplug for x86 VMs 2024-04-18 10:36:55 -04:00
Lily Foster
59742f6f72
Merge pull request from Janik-Haag/networkmanager-tests
nixosTests.networking: refactor and add NetworkManager support
2024-04-18 06:38:37 -04:00
Christina Sørensen
d5851d5676
nixos/dockerRegistry: add configFile option
defaultText based on how nixos/modules/services/development/athens.nix
does it.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-04-18 06:11:06 +02:00
Peder Bergebakken Sundt
3f1bb546b5
Merge pull request from autrimpo/gonic-0.16.3
gonic: 0.15.2 -> 0.16.4
2024-04-18 02:01:35 +02:00
Janik H.
b1fd84f6ec
nixosTests.networking: start network-online.target manually
this is done to avoid future problems for when `network-online.target` doesn't depend on `multi-user.target`
2024-04-18 00:27:45 +02:00
Michal Koutenský
f7c740853d nixosTests.gonic: set up all necessary paths using tmpfiles 2024-04-18 00:18:43 +02:00
Sandro Jäckel
cb8b6a5d00
treewide: reanme renamed libinput options 2024-04-17 23:34:07 +02:00
Sandro
1166097197
Merge pull request from SebastianWendel/init-prometheus-dnssec-exporter
nixos/prometheus-dnssec-exporter: init
2024-04-17 21:48:59 +02:00
Felix Bühler
671372c8ed
Merge pull request from mattchrist/freshrss-authtype-none
nixos/freshrss: fix startup when authType = "none"
2024-04-17 21:46:52 +02:00
OPNA2608
35614f6132 tests/lomiri: Adjust for network indicator 2024-04-17 21:37:30 +02:00
Janik H.
52e01114be
nixosTests.networking: refactor and add NetworkManager support 2024-04-17 21:20:11 +02:00
Adam C. Stephens
95db6c67d7
Merge pull request from emilylange/forgejo-test-forgejo-actions
nixos/tests/forgejo: refactor and test Forgejo Actions workflow, nixos/gitea-actions-runner: set the `$HOME` environment variable
2024-04-17 08:27:13 -04:00
Matt Christ
90e673b1b8 nixos/freshrss: fix startup when authType = "none"
Prior to this patch, FreshRSS fails to load with an initial
`authType = "none"` setting, instead providing an error:
"Error during context user init!"

To fix this, this patch changes the freshrss-config service to
setup the initial `defaultUser` when `authType = "none"`
is configured.
2024-04-16 16:48:41 -05:00
Justinas Stankevicius
b944bd2c7f teleport_12: remove
EOL as v15 has been released.
2024-04-16 20:52:42 +03:00
Justinas Stankevicius
3b16464200 teleport_15: init at 15.2.2 2024-04-16 20:50:10 +03:00
Marie Ramlow
8785ef0a2d nixos/db-rest: init 2024-04-16 10:42:02 +02:00
Gabriel Volpe
10517cf9ab
tree-wide: use cartesianProduct 2024-04-15 19:13:22 +02:00
Florian Klink
104f0b6183
Merge pull request from ifd3f/systemd-networkd-bridge-config
nixos/networkd: add [Bridge] section to netdev conf
2024-04-15 18:26:45 +03:00
r-vdp
9258f57625
systemd: add a name option to all systemd units
This allows us to set things like dependencies in a way that we can
catch typos at eval time.
So instead of
```nix
systemd.services.foo.wants = [ "bar.service" ];
```
we can write
```nix
systemd.services.foo.wants = [ config.systemd.services.bar.name ];
```
which will throw an error if no such service has been defined.

Not all cases can be done like this (eg template services), but in a lot
of cases this will allow to avoid typos.

There is a matching option on the unit option
(`systemd.units."foo.service".name`) as well.
2024-04-15 11:32:45 +02:00
Astrid Yu
ed854ed0e3 nixos/networkd: add [Bridge] section to netdev conf
This setting was missing from netdev.

This commit additionally adds a test using the new
section, ensuring that STP can be enabled.
2024-04-14 15:16:44 -07:00
OPNA2608
b6fd92ab77 nixos/tests/lomiri: init 2024-04-14 21:38:40 +02:00
lassulus
44f5a5f39c
Merge pull request from Tom-Hubrecht/crabfit
crabfit: init at unstable-2023-08-02
2024-04-13 20:29:09 +02:00
stuebinm
6afb255d97 nixos: remove all uses of lib.mdDoc
these changes were generated with nixq 0.0.2, by running

  nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix

two mentions of the mdDoc function remain in nixos/, both of which
are inside of comments.

Since lib.mdDoc is already defined as just id, this commit is a no-op as
far as Nix (and the built manual) is concerned.
2024-04-13 10:07:35 -07:00
Tom Hubrecht
96659af197 nixos/crabfit: init 2024-04-13 18:51:02 +02:00
Savyasachee Jha
bfad74e57c firefly-iii: init at 6.1.13 2024-04-13 22:10:41 +05:30
Thomas Gerbet
8aa99de316
Merge pull request from tcmal/akkoma-update-main
akkoma: 3.11.0 -> 3.12.1
2024-04-12 23:13:10 +02:00
Pol Dellaiera
6ac255deb5
Merge pull request from Janik-Haag/networking-tests
nixosTests.networking: split router into a separate file and remove `with lib;` antipattern
2024-04-12 22:35:08 +02:00
lassulus
ad4c8244f1
Merge pull request from birkb/drbd-kernel-module
drbd: 9.19.1 -> 9.27.0 (utils), 9.2.7 kernel driver added
2024-04-12 21:53:55 +02:00
Weijia Wang
11f3e0c15d mongodb-4_4: drop 2024-04-12 12:30:40 +02:00
Sebastian Wendel
8737490803 nixos/prometheus.exporters.dnssec: init module 2024-04-12 12:23:47 +02:00
Aleksana
2a057805ae
Merge pull request from helsinki-systems/init/keydb
keydb: init at 6.3.4
2024-04-12 16:33:36 +08:00
Weijia Wang
859f329868
Merge pull request from nbdd0121/unifi
unifi: remove unifiLTS, unifi5, unifi6
2024-04-12 09:47:15 +02:00
Gary Guo
c4e5381072 unifi: remove unifiLTS, unifi5, unifi6 2024-04-12 00:33:16 +01:00
lassulus
4cde9116a1
Merge pull request from toastal/movim-service
nixos/movim: init, movim: additions + patches
2024-04-11 21:02:07 +02:00
toastal
fcc7c53e9c nixos/movim: add service module 2024-04-11 23:26:11 +07:00
Bobby Rong
a1b567757b
Merge pull request from bobby285271/upd/exclude-pkgs
nixos/{budgie,cinnamon,pantheon}: Don't enable modules for excludePackages
2024-04-11 20:41:13 +08:00
Simon Hauser
b3642388fe
keydb: init at 6.3.4 2024-04-11 10:47:07 +02:00
Pascal Bach
a8eaee11a9
Merge pull request from MinerSebas/restic-rest-server-hardening
nixos/restic-rest-server:  Add additional service hardening
2024-04-10 23:33:34 +02:00
emilylange
117a1a6a2c
nixos/tests/forgejo: test Forgejo Runner registration and workflow
Instead of only testing the runner registration, which doesn't tell us
all that much, we now test a (very simple) but actual workflow directly
runner on the host (type `:host`).

For this to work, we cache the official `actions/checkout` action from
GitHub as FOD and essentially mirror one version of it to Forgejo as
part of the test.

Since Forgejo does not yet provide an API endpoint for the workflow status
(whether a workflow is running, failed or successful), we have to resort
to parsing html for now.

It has some rather over the top poll logic, but I feel like will work
for quite some time without issues going unnoticed or whatever (TM).

This is essentially a response to a bug I found in
`services.gitea-actions-runner`, because we had no way to test that
module besides the runner registration (which, again, doesn't really
tell us all that much).
2024-04-10 22:09:56 +02:00
emilylange
45e438f5eb
nixos/tests/forgejo: remove one of the two clients, offload ssh & git config, refactor
We inherited almost all of this test from `nixos/tests/gitea` when we
decided to split.

This change saves some resources (just 2 instead of 3 VMs) and is (IMHO)
easier to follow and improve upon.
2024-04-10 22:09:08 +02:00
Bobby Rong
2a8a59aebb
nixos/budgie: Don't enable modules for excludePackages
ref: bc970e94e7
ref: nixpkgs issue 299877
2024-04-10 21:33:34 +08:00
Bobby Rong
a6ada0502b
nixos/pantheon: Don't enable modules for excludePackages
ref: bc970e94e7
ref: nixpkgs issue 299877

While at it, also enable flatpak in nixosTests.pantheon so we ensure appcenter builds.
2024-04-10 21:27:31 +08:00
Bobby Rong
14c7a500c0
nixos/cinnamon: Don't enable modules for excludePackages
ref: bc970e94e7
ref: nixpkgs issue 299877
2024-04-10 21:14:43 +08:00
tcmal
d598b5d88d nixos/akkoma: check that upload and media proxy base url is specified
new versions of akkoma require the upload base url to be specified in
order for updates to work properly.
this will be a breaking change in 24.05, but for now a reasonable
default is set.
2024-04-09 13:58:03 +01:00
Sandro
4cc6ce454d
Merge pull request from SuperSandro2000/sddm-wayland-only 2024-04-09 14:31:12 +02:00
Robert Schütz
0dca19054c
Merge pull request from SuperSandro2000/vaultwarden-webvault
vaultwarden.webvault: 2024.3.0 -> 2024.3.1
2024-04-09 03:49:54 +00:00
Sandro Jäckel
b6e0c42bc2
tests/vaultwarden: adjust to changes in frontend 2024-04-09 00:05:35 +02:00
Sandro Jäckel
476b8c276e
treewide: rename renamed sddm/displayManager settings 2024-04-08 21:56:38 +02:00
Sandro
b32f206faa
Merge pull request from Benjamin-L/soju-admin-socket 2024-04-08 10:20:31 +02:00
Robert Hensing
c740c98fc1
Merge pull request from PigeonF/dockertools-build-layered-compressor
dockerTools: Fix changing compression method for `buildLayeredImage`
2024-04-08 09:24:18 +02:00
Weijia Wang
d217732cef
Merge pull request from anthonyroussel/fix-oddjobd
nixos/oddjobd: enable dbus service to fix service startup
2024-04-07 22:52:46 +02:00
Julien Malka
668834f72c
Merge pull request from mjm/bcachefs-clevis-systemd 2024-04-07 22:51:56 +02:00
Benjamin Lee
e9fed4bcad
nixos/soju: add tests
For now, just try creating a user with sojuctl. Actually connecting an
irc client is pretty annoying.
2024-04-07 13:45:47 -07:00
Anthony Roussel
b0f78fba37
nixosTests.oddjobd: init 2024-04-07 20:29:21 +02:00
Kira Bruneau
f0034ee975
Merge pull request from kira-bruneau/nixos-containers
nixos/nixos-containers: require mounts for bind mount host paths
2024-04-06 18:07:45 -04:00
K900
2975aecbcb nixos/tests/switch-test: s/dbus.service/dbus-broker.service/g
Fixes the test after the default DBus implementation change.
2024-04-06 23:21:06 +03:00
Julien Malka
5afb7f3528 nixos/tests: add clevisBcachefs tests to installer-systemd-stage-1 tests 2024-04-05 15:25:01 +00:00
Kerstin
89000ace32
Merge pull request from linyinfeng/hledger-web
nixos/hledger-web: fix access control option
2024-04-05 17:04:47 +02:00