Commit Graph

6372 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
github-actions[bot]
387f5d9a5f
Merge master into staging-next 2023-05-11 12:01:42 +00: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
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]
079dc4c27d
Merge master into staging-next 2023-05-11 00:02:13 +00: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
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
ajs124
81244087ab nixosTests.mysql-replication: fix deprecation warning 2023-05-10 18:22:41 +02: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
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
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
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
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
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
s1341
20d707c8c4 nixos/test/sssd-ldap: make tests actually check login, password change 2023-05-09 13:46:17 +03: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
Matthias Berndt
8aa320b4c2 address code review issues 2023-05-08 23:18:55 +02:00
github-actions[bot]
54295bf976
Merge staging-next into staging 2023-05-08 18:02:09 +00: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
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
Matthias Berndt
d1411444b6 add installer test for stratis root fs 2023-05-07 18:48:28 +02:00
Zhaofeng Li
4b8e060167 nixos/tests/darling: init 2023-05-06 22:49:35 -06:00
github-actions[bot]
1edcdf34e3
Merge staging-next into staging 2023-05-06 18:01:44 +00:00
Gabriel Fontes
16b3b0c53b nixos/tests/kavita: init 2023-05-06 13:57:53 -03:00
Dominique Martinet
5e8a27296b nixosTests.bpf: disable kfunc test on aarch64
commit fd5d7b2586 ("tests/bpf: add module BTF test") added a new test
for module BTF, but that test does not work on aarch64. (merged in
https://github.com/NixOS/nixpkgs/pull/214001 )

This is not a regression (kfuncs didn't work on bpftrace 0.16,
even if you do not use features requiring BTF like argument name
or type), so just disable the test on aarch64 until it is fixed.
2023-05-06 06:40:30 +09:00
Mikaela Allan
21b6bec0ff
nixos/config/swap: improve randomEncrytion
* add sector size parameter to swap randomEncryption
  * add key size parameter to swap randomEncryption
  * allow deviceName to be overridden for encrypted swap
  * create test for swap random encryption
  * update release notes
2023-05-05 13:36:42 -04:00
Ryan Lahfa
275a6e3d8d
Merge pull request #193469 from minijackson/mount-options-stage-1
nixos/stage-1: follow mount options
2023-05-05 17:05:48 +02:00
Jacek Galowicz
3ba45b082e
Merge pull request #228111 from alyssais/nixosTest-hostname
nixosTest: remove hostname limitations
2023-05-05 08:12:36 +02:00
Vladimír Čunát
fb91facda2
nixos/tests/installer.nix: add missing kbd.dev
Sometimes the tests fail since splitting kbd.dev in PR #226247
https://hydra.nixos.org/build/218620685/nixlog/2/tail
Apparently the failure isn't 100% reproducible; I don't know how/why.
2023-05-04 08:35:23 +02:00
Jonas Heinrich
9679582652 wordpress: 6.1.1 -> 6.2; wordpress6_2: init 2023-05-03 13:56:50 +02:00
Martin Weinelt
826418fc35
Merge pull request #227990 from Mic92/mediawiki-webserver
nixos/mediawiki: make apache2 optional
2023-05-02 12:39:10 +02:00
Jonas Heinrich
d932d6929b
Merge pull request #227401 from onny/maddytls2
nixos/maddy: Add tls option
2023-05-02 07:32:56 +02:00
Jörg Thalheim
077e950f7a nixos/mediawiki: also test fcgi socket 2023-05-01 20:51:11 +02:00
Jörg Thalheim
d309952a5d nixos/mediawiki: make apache optional 2023-05-01 20:51:11 +02:00
Jonas Heinrich
fcf6662fb5
Merge pull request #229159 from Misterio77/refactor-nextcloud-createlocally
nixos/nextcloud: refactor database.createLocally
2023-05-01 20:04:20 +02:00
Jonas Heinrich
616ba4ae5c nixos/maddy: Add tls option 2023-05-01 19:12:26 +02:00
Gabriel Fontes
fddf531c6f
nixos/nextcloud: refactor database.createLocally
Fixes https://github.com/NixOS/nixpkgs/issues/228971
2023-05-01 12:20:40 -03:00
github-actions[bot]
7e5a4795a7
Merge master into staging-next 2023-05-01 06:01:42 +00:00
Weijia Wang
b87aa62298
Merge pull request #227936 from wineee/dde
nixos/deepin: init
2023-05-01 08:38:45 +03:00
github-actions[bot]
2b265000ed
Merge master into staging-next 2023-04-30 18:01:17 +00:00
Kira Bruneau
50200de3f4
Merge pull request #216230 from tcheronneau/master
nixos/{consul-template,vault-agent}: init
2023-04-30 13:53:57 -04:00
gaykitty
d4f3dd4f71 nixos/stargazer: fix route ordering 2023-04-30 13:05:34 -03:00
Elias Probst
3bd1c64a5b
nixos/restic: use private tmp for service unit
To reduce the danger of accidentally exposing sensitive files processed
by a restic backup to other services/users, enable the `PrivateTmp=`
feature of restic service units, which provides a per service isolation
of `/tmp` and `/var/tmp`.

Co-authored-by: Daniel Nagy <danielnagy@posteo.de>
2023-04-30 10:39:29 +02:00
github-actions[bot]
3d5144e385
Merge master into staging-next 2023-04-30 00:02:27 +00:00
Kira Bruneau
f81a619c91
Merge pull request #227916 from IndeedNotJames/lldap
lldap: init at 0.4.3; nixos/lldap: init; nixosTests.lldap: init
2023-04-29 15:24:12 -04:00
IndeedNotJames
5eb2e64d80
nixosTests.lldap: init 2023-04-29 21:14:25 +02:00
rewine
d63d98212a
nixos/tests/deepin: init 2023-04-29 22:36:22 +08:00
github-actions[bot]
33176679ce
Merge master into staging-next 2023-04-29 06:01:04 +00:00
Raito Bezarius
bc502d0a14 nixos/bootspec: adopt the merged RFC-0125
This removes the feature preview warning, enable by default bootspec,
adds a validation flag to prevent Go to go into build-time closure.

This will break all downstream users of bootspec as those changes are
not backward-compatible.
2023-04-28 18:26:11 -07:00
github-actions[bot]
534c4a7623
Merge master into staging-next 2023-04-29 00:02:00 +00:00
Raito Bezarius
f9d741912f nixos/tests/systemd-repart: use qemu_kvm (host arch) instead of qemu (all arches) 2023-04-29 01:45:54 +02:00
Martin Weinelt
9ebb469697
nixosTests.home-assistant: Test more components 2023-04-28 21:37:52 +02:00
github-actions[bot]
63a3bd8731
Merge staging-next into staging 2023-04-26 18:01:39 +00:00
Vladimír Čunát
d6b863fd9b
Merge #226795: staging-next 2023-04-18 2023-04-26 18:35:28 +02:00
Yaya
5effdaaa40
nixos/tests/snipe-it: init (#180772) 2023-04-26 17:46:15 +02:00
github-actions[bot]
4904bab0a9
Merge staging-next into staging 2023-04-26 06:03:02 +00:00
github-actions[bot]
b32da71ae4
Merge master into staging-next 2023-04-26 06:02:24 +00:00
Bobby Rong
d9293111a9
Merge pull request #227526 from FedericoSchonborn/more-budgie
budgie: add plugin support, update default settings
2023-04-26 11:11:24 +08:00
Yureka
c32144bd1d nixos/tests/pppd: fix with ppp 2.5.0 2023-04-25 18:00:12 +02:00
IndeedNotJames
3e7069bb47
nixosTests.consul-template: init 2023-04-25 16:54:08 +02:00
Sophie Tauchert
d568766fc7
nixos/traefik: add environmentFiles option 2023-04-25 16:05:28 +02:00
IndeedNotJames
524fe7ff51
nixosTests.vault-agent: init 2023-04-25 15:58:30 +02:00
Minijackson
8f94053a21
nixosTests.early-mount-options: init 2023-04-25 13:07:08 +02:00
Robert Hensing
e207f4a116 nixosTests.nixos-test-driver.node-name: init 2023-04-25 12:21:38 +02:00
Robert Hensing
3ec3d283c5 nixos/tests: extra-python-packages -> nixos-test-driver/extra-python-packages
Categorizing the tests for the test driver helps with testing the test driver.
2023-04-25 12:03:15 +02:00
github-actions[bot]
497ac06266
Merge master into staging-next 2023-04-25 06:01:40 +00:00
Mario Rodas
5249a7ce55
Merge pull request #220812 from anpin/feature/promscale-rebase
promscale: 0.10.0 -> 0.17.0
2023-04-24 21:02:25 -05:00
gaykitty
c251c021fe nixos/stargazer: init 2023-04-24 21:52:19 -03:00
Jörg Thalheim
1d2a96eda3 nixos/mediawiki: move virtualHost to httpd.virtualHost
This is a preparation to also allow nginx as a http server.
2023-04-24 14:24:52 +02:00
Vladimír Čunát
011bf8f5d9
Merge branch 'master' into staging-next 2023-04-24 08:10:21 +02:00
Sandro
0438816b9e
Merge pull request #226974 from IndeedNotJames/forgejo-build-from-source 2023-04-24 00:04:16 +02:00
Federico Damián Schonborn
45d0a21ce6
nixos/tests/budgie: Add budgie-analogue-clock-applet
Signed-off-by: Federico Damián Schonborn <fdschonborn@gmail.com>
2023-04-23 10:39:38 -03:00
Pavel Anpin
08ddf6f0e3
nixosTests.promscale: add tests for promscale_extension 2023-04-22 21:29:50 +04:00
github-actions[bot]
ca0f3efdbe
Merge master into staging-next 2023-04-21 18:01:26 +00:00
Weijia Wang
89d59988a7
Merge pull request #227445 from fgaz/ft2-clone/1.66
ft2-clone: 1.65 -> 1.66, fix nixos test
2023-04-21 20:41:19 +03:00
Florian Klink
6b27ed3229
Merge pull request #169116 from ElvishJerricco/systemd-stage-1-networkd
Systemd stage 1 networkd
2023-04-21 18:40:59 +02:00
Raito Bezarius
f341151cfa nixos/tests/pixelfed: init test 2023-04-21 17:39:24 +02:00
Francesco Gazzetta
a4807f566d nixosTests.ft2-clone: make OCR more robust 2023-04-21 15:35:20 +02:00
github-actions[bot]
aac843d611
Merge master into staging-next 2023-04-21 12:01:11 +00:00
Ryan Lahfa
4b4e4c3ef9
Merge pull request #207039 from NixOS/qemu-boot-disk-using-make-disk-image
nixos/qemu-vm: refactor bootDisk using make-disk-image
2023-04-21 13:47:17 +02:00
Ryan Lahfa
d231d9b521
Merge pull request #226871 from apeschar/zfs-curl
zfs: enable keylocation=http://
2023-04-21 13:11:17 +02:00
Raito Bezarius
614b83a328 nixos/virtualisation/qemu-vm: remove persistBootDevice option
This option has been introduced in 678eed323f without realizing there was this
PR inflight, unfortunately, it collide with what this PR does and make
it irrelevant.

Therefore, I remove it here.
2023-04-21 13:00:19 +02:00
Raito Bezarius
e3a41f3fec nixos/tests/bootspec: assert for boot.json rather than bootspec/boot.json 2023-04-21 13:00:19 +02:00
Raito Bezarius
58f4c3944d nixos/tests(treewide): vdb → vda, vdc → vdb, vdd → vdc, … / bootDevice → rootDevice 2023-04-21 13:00:19 +02:00
Maximilian Bosch
636e9f7418
Merge pull request #227235 from Ma27/bump-nextcloud
nextcloud: 25.0.5 -> 25.0.6, 26.0.0 -> 26.0.1, remove nc24
2023-04-21 11:14:29 +02:00
IndeedNotJames
254180d508
nixosTests.gitea: fix sshd race condition 2023-04-21 03:56:51 +02:00
github-actions[bot]
7fea76bc9d
Merge master into staging-next 2023-04-21 00:02:18 +00:00
Weijia Wang
8b1ef3b06c
Merge pull request #225222 from Luflosi/test-aaaaxy
nixos/tests/aaaaxy: init
2023-04-20 22:31:30 +03:00
K900
7a86a7f9ed nixos/tests/pipewire: don't enable pipewire in test VM
It's not actually used
2023-04-20 18:02:38 +03:00
Maximilian Bosch
430f1dcdbd
nextcloud: remove nextcloud24, 25.0.5 -> 25.0.6, 26.0.0 -> 26.0.1 2023-04-20 11:34:54 +02:00
Flakebi
603e89eef9 kanidm: BindMount certificate paths
Bind mount the base dirs of the tls key and chain into the service.

Make sure to bind every directory just once. The test failed on ofborg
when /nix/store and the certificate path in /nix/store/<some path> were
bound.
2023-04-20 02:32:37 +02:00
Alyssa Ross
e6c0587ee5
nixosTests.power-profiles-daemon: enable polkit
I think this is required for the gdbus invocations used to implement
the test, rather than for power-profiles-daemon itself.

Fixes: a813be071c ("nixos/polkit: don't enable by default")
2023-04-19 14:21:15 +00:00
Sandro
4f6b51d99c
Merge pull request #224212 from Guekka/monica
monica: init at 4.0.0 & nixos-module
2023-04-18 16:58:42 +02:00
Sandro
ed7dd78b3f
Merge pull request #225274 from tie/nixos-pufferpanel
nixos/pufferpanel: init
2023-04-18 16:57:14 +02:00
Albert Peschar
0f05321d78 zfs: enable keylocation=http://
When ZFS is built with cURL, it allows retrieving encryption keys from
URLs automatically.
2023-04-18 17:44:25 +03:00
Linus Heckemann
b14aded48a
Merge pull request #222617 from oddlama/esphome
nixos/esphome: init module
2023-04-18 06:45:40 +02:00
Will Fancher
3cb9534df6 systemd-initrd: Flush networkd 2023-04-17 16:41:36 -04:00
Will Fancher
834ec135ce systemd-initrd: OpenVPN 2023-04-17 16:41:35 -04:00
Will Fancher
0698a1cf04 systemd-initrd: sshd 2023-04-17 16:41:35 -04:00
Will Fancher
748f1329fc systemd-initrd: Automatically configure networking.interfaces 2023-04-17 16:41:35 -04:00
Will Fancher
dd392d7c76 systemd-initrd: networkd 2023-04-17 16:41:34 -04:00
Ryan Lahfa
6bf4cde63f
Merge pull request #226214 from leon-barrett/leon-make-disk-image-dir
nixos/make-disk-image: fix contents dir paths
2023-04-16 21:49:09 +02:00
Guillaume Girol
40bbc9ae53
Merge pull request #225285 from symphorien/ihm-remove
python3.pkgs.ihatemoney: remove
2023-04-16 19:23:00 +00:00
Leon Barrett
15c760d6b8 nixos/make-disk-image: fix contents dir paths
`make-disk-image` is a tool for creating VM images. It takes an argument
`contents` that allows one to specify files and directories that should
be copied into the VM image. However, directories end up not at the
specified target, but instead at a subdirectory of the target, with a
nix-store-like path, e.g.
`/target/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-source`. See issue
https://github.com/NixOS/nixpkgs/issues/226203 .

This change adds a test for make-disk-image's contents directory
handling and adds a fix (appending `/` to rsync input directory names).

This closes issue https://github.com/NixOS/nixpkgs/issues/226203 .
2023-04-16 09:54:45 -07:00
Leon Barrett
a711e445cc nixos/tests/ec2: Fix test tooling
This change fixes two problems with the qemu testing code:
1. Previously, the qemu-img command was missing a disk image format
   argument.
2. Previously, if a test assertion failed, the test hung because the VM
   was not torn down.
2023-04-16 09:54:10 -07:00
Guillaume Girol
3cc8b4477e python3.pkgs.ihatemoney: remove
sqlalchemy and flask releases break ihatemoney faster than upstream
updates, so the maintenance burden increases over time.
2023-04-16 16:04:35 +02:00
Ivan Trubach
4bbe09068a nixos/pufferpanel: init 2023-04-16 15:41:24 +03:00
Edgar B
33a7f368b4 nixos/monica: init 2023-04-16 11:24:00 +02:00
Luflosi
f2be3ae30d
nixos/kubo: restrict access to the API to users in a group by default 2023-04-15 15:25:20 +02:00
Luflosi
7ceebbb35b
nixos/kubo: allow multiple API and Gateway addresses
The daemon allows specifying an array of multiaddrs for Addresses.API and Addresses.Gateway, so the NixOS module should allow that as well.
2023-04-15 15:25:06 +02:00
Luflosi
929a00bd84
nixos/kubo: give normal users access to the daemon by default
Fixes https://github.com/NixOS/nixpkgs/issues/223289.

This doesn't reduce the security in any way since it was already possible for normal users to do what I do here and create such a fake repo for themselves and set their $IPFS_PATH variable to it. It was and still is also possible to just use the --api CLI option.
This change just removes the manual setup that would otherwise be required.

We wouldn't need this workaround if https://github.com/ipfs/kubo/pull/9366 was merged but the fix seems to have been ignored upstream. Patching it ourselves seems like a bad idea since the patch has security implications.
2023-04-15 15:24:58 +02:00
Luflosi
409df93c01
nixos/tests/kubo: use subtests instead of comments
Specify the intent of parts of the tests by using `with subtest("...")` instead of a comment for more clarity.
2023-04-15 15:24:49 +02:00
Luflosi
bf97703f0e
nixos/tests/kubo: clean up code
- Use `runTest` instead of `handleTest`, which simplifies the code a little
- Use `lib.maintainers` instead of `pkgs.lib.maintainers`
- Use `ipfs add --quieter` instead of `ipfs add | awk '{ print $2 }'`
- Whitespace and comment changes
2023-04-15 15:24:43 +02:00
Luflosi
62bff9ab15
nixos/tests/kubo: add Luflosi as maintainer 2023-04-15 15:24:37 +02:00
Alyssa Ross
3a776e1e30 nixosTests.cage: fix OCR properly
The underlying problem with OCR in this test has been that the only
font installed was DejaVu Sans, a proportional font, which xterm would
try to render as monospace.  This produced very broken looking text,
which the OCR understandably had trouble with.  With an actual
monospace font installed, there are no more problems and we don't need
the hacks.
2023-04-14 22:32:26 +00:00
Sandro
f9e70759cd
Merge pull request #213816 from karmanyaahm/karmanyaahm/nixos/kubo 2023-04-14 00:48:37 +02:00
Jonas Heinrich
86a685ceb1 nixos/maddy: Add option ensureCredentials 2023-04-13 09:36:54 -04:00
Karmanyaah Malhotra
5fb09c9e3a nixos/kubo: Test Kubo restart after a crash
Move strip() to definition

Co-authored-by: Luflosi <Luflosi@users.noreply.github.com>
2023-04-13 03:14:59 -05:00
Karmanyaah Malhotra
28949db47e nixos/kubo: reenable FUSE test with workaround
Update comment notice on broken fuse

Co-authored-by: Luflosi <Luflosi@users.noreply.github.com>
2023-04-13 03:14:59 -05:00
Luflosi
6032e00504
nixos/tests/aaaaxy: init
Add a simple VM test for the game AAAAXY.
2023-04-13 00:43:44 +02:00
Sandro
603320b64f
Merge pull request #204534 from SuperSandro2000/boot-tmp 2023-04-12 21:37:47 +02:00
Will Fancher
e70b42bf61 systemd-initrd: Add users and groups with static IDs. 2023-04-12 13:55:50 -04:00
Ryan Lahfa
6a101d0be6
Merge pull request #225225 from puppe/fix-yggdrasil-tests
nixos/yggdrasil: fix yggdrasil local peering test
2023-04-12 13:36:37 +02:00
github-actions[bot]
47157337bf
Merge master into staging-next 2023-04-12 00:02:18 +00:00
Will Fancher
fef26d88e2 systemd-initrd: Support secrets when boot loader doesn't
initrd-secrets: Fix service config with systemd-stage-1
2023-04-11 15:20:47 -04:00
Jörg Thalheim
89103b63d2
Merge pull request #225195 from Mic92/buildbot
buildbot: move out of python3.pkgs
2023-04-11 19:49:24 +01:00
github-actions[bot]
4e2c1815ed
Merge master into staging-next 2023-04-11 18:01:18 +00:00