Commit Graph

8116 Commits

Author SHA1 Message Date
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 #304117 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 #300917 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 #300343 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 #296500 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 #278984 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 #301804 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 #303492 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 #296641 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 #303115 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 #296459 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 #291913 from SuperSandro2000/sddm-wayland-only 2024-04-09 14:31:12 +02:00
Robert Schütz
0dca19054c
Merge pull request #302389 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 #258520 from Benjamin-L/soju-admin-socket 2024-04-08 10:20:31 +02:00
Robert Hensing
c740c98fc1
Merge pull request #292760 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 #302195 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 #295736 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 #297517 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 #299460 from linyinfeng/hledger-web
nixos/hledger-web: fix access control option
2024-04-05 17:04:47 +02:00
Bobby Rong
29f96f114b
Merge pull request #301847 from bobby285271/upd/pantheon
pantheon.gala: Fix missing URI handler
2024-04-05 22:53:24 +08:00
Bobby Rong
bd3f680d37
pantheon.gala: Backport Wayland menu commit
gala-daemon actually needs a correct environment for `AppInfo.launch_default_for_uri`.
2024-04-05 21:23:11 +08:00
Ryan Lahfa
99ca8d4ea5
Merge pull request #300757 from K900/installer-tests-unfucking
nixos/tests/installer: spring cleaning
2024-04-05 03:50:39 -07:00
K900
15d95c7b74 nixos/qemu-vm: split up the "keep EFI variables from system image" logic 2024-04-05 09:00:12 +03:00
Weijia Wang
c821c015c5
Merge pull request #291346 from aorith/init-silverbullet
silverbullet: init at 0.7.6
2024-04-05 06:31:50 +02:00
Kira Bruneau
7f3643bef6 nixos/nixos-containers: require mounts for bind mount host paths
Fixes starting containers before bind mount host paths are mounted
2024-04-04 19:48:15 -04:00
Kevin Cox
9c636e8416
Merge pull request #296718 from Rutherther/mautrix-meta-init
mautrix-meta: init at 0.2.0
2024-04-04 18:07:19 -04:00
K900
6f139367a3
Merge pull request #301617 from K900/kernels-20240404
Kernel updates for 2024-04-04
2024-04-04 23:40:39 +03:00
K900
b71cc870b6 linux_6_7: drop 2024-04-04 22:45:46 +03:00
Pol Dellaiera
53e51b19d4
Merge pull request #298742 from FabianRig/technitium-dns-server-module
nixos/technitium-dns-server: init module
2024-04-04 21:43:08 +02:00
Emily
053ab7f57c
Merge pull request #300981 from emilylange/forgejo-ldflags
forgejo: add missing internal version ldflags, nixosTests.forgejo: test /api/forgejo/v1/version
2024-04-04 21:31:02 +02:00
Florian Klink
1fb00f1396 mycelium: 0.4.5 -> 0.5.0
Changed
 - Connection identifier is now included in the error log if we can't forward a
 - seqno request.
 - Garbage collection time for source entries has been increased from 5 to 30 minutes
 - for now.
 - The router implementation has been changed to use regular locks instead of an
 - always readable concurrency primitive for all but the actual routing table. This
 - should reduce the memory consumption a bit.
 - Public key and shared secret for a destination are now saved on the router, instead
 - of maintaining a separate mapping for them. This slightly reduces memory consumption
 - of the router, and ensures stale data is properly cleaned up when all routes to
 - a subnet are removed.
 - Hello packets now set the interval in which the next Hello will be sent properly
 - in centiseconds.
 - IHU packets now set the interval properly in centiseconds.
 - IHU packets now set an RX cost. For now this is the link cost, in the future
 - this will be set properly.
 - Route expiration time is now calculated from the interval received in updates.
 - Ip address derivation from public keys now uses the blake3 hash algorithm.

Fixed
 - Don't try to forward seqno requests to a peer if we know its connection is dead.
2024-04-04 12:44:23 +03:00
Pol Dellaiera
e7cc626902
nixos/modules: add technitium-dns-server tests 2024-04-04 08:35:07 +02:00
Christian Kögler
29b575a0e8
Merge pull request #300728 from ck3d/nixos-test-machinectl-import-tar
nixos/test/machinectl: Add import-tar test
2024-04-03 22:58:06 +02:00
Rick van Schijndel
2600c7f38c
Merge pull request #297392 from Mindavi/hydra/2024-03-08
hydra_unstable: 2023-12-24 -> 2024-03-08, use nix_2_20
2024-04-03 20:59:45 +02:00
K900
7b602cff5c nixos/tests/installer: avoid create_machine, clean up
- use normal VM nodes for target, with some extra trickery
- rename preBootCommands to postBootCommands to match its actual intent
- rename VMs to installer and target, so they're not all called machine
- set platforms on non-UEFI tests properly
- add missing packages for systemd-boot test
- fix initrd secrets leaking into the store and having wrong paths
2024-04-03 16:16:11 +03:00
Pol Dellaiera
f4255ff98d
Merge pull request #296679 from bhankas/ocis
ocis-bin: init at 5.0.0
2024-04-02 23:23:36 +02:00
Payas Relekar
427bf67bed nixos/ocis: init at 5.0.0
Co-authored-by: Casey Link <unnamedrambler@gmail.com>
2024-04-03 00:53:24 +05:30
Rutherther
5effc7956a mautrix-meta: init service
Acked-by: Rutherther <rutherther@proton.me>
2024-04-02 19:16:45 +02:00
emilylange
680bc07727
nixosTests.forgejo: test /api/forgejo/v1/version
We forgot to set two version related ldflags in our packaging and this
should prevent this from going unnoticed again.

Further details are in dab7aa20ed.
2024-04-02 17:04:29 +02:00
Aaron Andersen
46bcc66f01
Merge pull request #300805 from felixsinger/pkgs/redmine/fix-assertion
nixos/redmine: Fix broken assertion when SQLite is used
2024-04-02 11:37:39 +00:00
Yureka
cfbde8ec8d nixos/tests/gitlab: reduce memory usage
Co-Authored-By: Yaya <github@uwu.is>
2024-04-02 07:30:12 +02:00
Janik H.
080c08d3c1
nixosTests.networking: split router into a separate file and remove with lib; antipattern
this commit also does a tiny bit more, namely:
- removing unnecessary ping's to the hosts own ip
- and simplifying a few pieces of code like changing `{ inherit (pkgs) lib pkgs; };` to `{ inherit lib pkgs; };`
2024-04-02 02:33:48 +02:00
Mario Rodas
5b3704b4d3
Merge pull request #296616 from Ma27/postgresql-rfc42-submodule
nixos/postgresql: turn `settings` into a submodule
2024-04-01 18:26:51 -05:00
Felix Singer
7245e78e2d nixos/tests/redmine: Add test case for SQLite backend
Suggested-by: Zebreus <lennart@zebre.us>
Signed-off-by: Felix Singer <felixsinger@posteo.net>
2024-04-02 00:21:12 +02:00
Weijia Wang
a5fcefa1ad
Merge pull request #292835 from sinavir/castopod2
nixos/castopod: updated nixos test and module
2024-04-01 20:27:49 +02:00
Christian Kögler
ff16d4597f nixos/test/machinectl: set stateVersion 2024-04-01 20:09:11 +02:00
sinavir
301a66e8ea nixos/castopod: Increase test timeouts 2024-04-01 19:16:30 +02:00
Alexander Tomokhov
552043a34d nixos/castopod: fix startup, displaying images, uploads up to 500 MiB
- new maxUploadSize option
- new dataDir option (with ReadWritePaths systemd support)
- admin page reports correct free disk space (instead of /nix/store)
- fix example configuration in documentation
- now podcast creation and file upload are tested during NixOS test
- move castopod from audio to web-apps folder
- verbose logging from the browser test
2024-04-01 19:16:25 +02:00
Christian Kögler
20e50bbb92 nixos/tests/machinectl: add import-tar test 2024-04-01 17:57:30 +02:00
Christian Kögler
aefaae0c9d nixos/tests/machinectl: auto-format test 2024-04-01 17:25:30 +02:00
Casey Link
17d73dc9a1
nixos/davis: init 2024-04-01 12:55:29 +02:00
Alyssa Ross
e7de14ea98 nixosTests.kernel-rust.linux_testing: init for aarch64
Older kernels do not support Rust on aarch64, so we have to move the
platform check from all-tests.nix into the test itself.
2024-04-01 09:37:19 +02:00
Pablo Ovelleiro Corral
7f797a698f
wastebin: init at 2.4.3 (#287455)
* wastebin: init at 2.4.3

* nixos/wastebin: init

Add module and test for wastebin
2024-04-01 04:55:15 +04:00
Robert Schütz
8d6af72637 calendar-cli: add meta.mainProgram 2024-03-31 14:25:27 -07:00
Naïm Favier
92514e4863
Merge branch 'master' into haskell-updates 2024-03-31 10:23:44 +02:00
Lin Yinfeng
484c1c1ff8
nixos/hledger-web: fix access control options 2024-03-31 12:50:08 +08:00
Weijia Wang
93a725e1a5
Merge pull request #296361 from bhankas/workout-tracker
workout-tracker: init at 0.10.5
2024-03-31 04:50:58 +02:00
Morgan Helton
dd2c6f1840 nixos/sunshine: init 2024-03-30 20:07:35 -05:00
Maximilian Bosch
5142b7afa8
nixos/postgresql: turn settings into a submodule
The main idea behind that was to be able to do more sophisticated
merging for stuff that goes into `postgresql.conf`:
`shared_preload_libraries` is a comma-separated list in a `types.str`
and thus not mergeable. With this change, the option accepts both a
comma-separated string xor a list of strings.

This can be implemented rather quick using `coercedTo` +
freeform modules. The interface still behaves equally, but it allows to
merge declarations for this option together.

One side-effect was that I had to change the `attrsOf (oneOf ...)` part into
a submodule to allow declaring options for certain things. While at it,
I decided to move `log_line_prefix` and `port` into this structure as
well.
2024-03-30 14:23:05 +01:00
github-actions[bot]
506e353092
Merge master into haskell-updates 2024-03-30 00:12:08 +00:00
Bobby Rong
e96d5c13d0
Merge pull request #140429 from bobby285271/pantheon-systemd
pantheon: manage user session with systemd
2024-03-29 22:55:39 +08:00
ajs124
b2d16906b0
Merge pull request #260867 from helsinki-systems/upd/xfsprogs
xfsprogs: 6.4.0 -> 6.6.0
2024-03-29 14:00:29 +01:00
github-actions[bot]
d48c2529ec
Merge master into haskell-updates 2024-03-29 00:12:42 +00:00
Robert Schütz
7cdbfcbbd2
Merge pull request #278981 from dotlambda/mollysocket-init
mollysocket: init at 1.3.0, nixos/mollysocket: init
2024-03-28 18:51:07 +00:00
Robert Hensing
b40caf8c8a
Merge pull request #273769 from Izorkin/update-peertube
peertube: 5.2.1 -> 6.0.3
2024-03-28 19:40:42 +01:00
Thiago Kenji Okada
48f9437cd1
Merge pull request #263360 from duament/nixos-rebuild-pipe
nixos-rebuild: use --pipe instead of --pty in systemd-run
2024-03-28 18:25:08 +00:00
Robert Schütz
078994248a nixos/mollysocket: init 2024-03-28 09:55:10 -07:00
Payas Relekar
466b994af9 nixos/workout-tracker: init 2024-03-28 20:08:28 +05:30
github-actions[bot]
8de0afeb83
Merge master into haskell-updates 2024-03-28 00:12:55 +00:00
Jacob Moody
d9039fcdd2 nixos/tests: readd builtins.currentSystem to make-test-python.nix
There is more nuance in the  ways people expect to run tests,
as such this still has some breakage. Revert for now.
2024-03-27 08:37:43 -05:00
Sandro
f87c956ea7
Merge pull request #281236 from melvyn2/update-kavita 2024-03-27 11:17:39 +01:00
lassulus
e91a1ad1e3
Merge pull request #298737 from MatthewCroughan/mc/scion-modules
nixos/scion: init
2024-03-27 10:15:37 +01:00
matthewcroughan
4d841207c5 nixos/tests/ustreamer: init 2024-03-27 06:35:55 +00:00