Commit Graph

9290 Commits

Author SHA1 Message Date
K900
099cde3a92
Revert "nixos/ssh: disable authorizedKeysInHomedir by default" 2024-10-20 21:32:29 +03:00
nicoo
06929a6fb0
nixos/ssh: disable authorizedKeysInHomedir by default (#309025) 2024-10-20 16:19:25 +00:00
Moraxyc
8d90446d39
nixos/cyrus-imap: init module
Co-authored-by: jtbx <jeremy@baxters.nz>
Co-authored-by: pluiedev <hi@pluie.me>
2024-10-20 00:13:24 +08:00
Aleksana
50e65a512b
teleport_14: remove (#349546) 2024-10-19 16:04:01 +08:00
K900
7907bb800e nixos/tests/keymap: use tty2 for the VT test
tty1 is occupied by X and isn't always released in time,
so just use a clean one to avoid the race
2024-10-19 09:22:55 +03:00
K900
77eb05d7b3 nixos/tests/keymap: cleanup
- remove dead code
- pass around a lot less redundant stuff
- add a timeout to the read so it can actually fail when characters are dropped
- run the input reader in systemd-cat so we can see the errors on console

This does not actually fix the flakiness in the tests, but it should make it
easier to find.
2024-10-19 09:22:30 +03:00
Peder Bergebakken Sundt
465201822e
nixos/mihomo: fix option type and test (#345891) 2024-10-19 06:58:41 +02:00
nicoo
1f08575e3a nixos/sshd: Disable authorizedKeysInHomedir if stateVersion >= 24.11
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2024-10-18 20:21:12 +00:00
Gary Guo
9d662d95ee
nixosTests.firewall: add tests for nixos-firewall-tool
Co-authored-by: Rvfg <i@rvf6.com>
2024-10-18 20:17:01 +02:00
Justinas Stankevicius
957fc1302f teleport_14: remove 2024-10-18 17:24:12 +03:00
Jörg Thalheim
7da0a62f4c
nixosTests.nix-upgrade: fix failing test (#346702) 2024-10-17 15:29:47 +02:00
Ramses
7715240587
nixos/etc-overlay: avoid rebuilding the initrd every time the etc contents change (#340722) 2024-10-16 22:21:13 +02:00
Robert Schütz
a9dee7c45b
immich: 1.117.0 -> 1.118.1 (#348890) 2024-10-16 12:31:58 -07:00
kirillrdy
b1428c8f9f
nixosTests.timescaledb: fix build, bump postgres version (#348214) 2024-10-17 06:07:54 +11:00
Robert Schütz
e3152f80bf nixos/immich: change default port to 2283
This was always upstream's default but they also change the internal
port, i.e. behind the reverse proxy, to 2283 in
https://github.com/immich-app/immich/pull/13185.
2024-10-16 10:30:34 -07:00
Nick Cao
8e125ab277
sing-box: 1.9.7 -> 1.10.0 (#348787) 2024-10-16 12:43:13 -04:00
r-vdp
a4f7868edf
nixos/etc-overlay: fix VM test for immutable overlay 2024-10-16 17:42:58 +02:00
r-vdp
24bf6e9cb8
nixos/etc-overlay: avoid rebuilding the initrd every time the etc contents change
Before this change, the hash of the etc metadata image was included in
the mount unit that's responsible for mounting this metadata image in the
initrd.
And because this metadata image changes with every change to the etc
contents, the initrd would be rebuild every time as well.
This can lead to a lot of rebuilds (especially when revision info is
included in /etc/os-release) and all these initrd archives use up a lot of
space on the ESP.

With this change, we instead include a symlink to the metadata image in the
top-level directory, in the same way as we already do for things like init and
prepare-root, and we deduce the store path from the init= kernel parameter,
in the same way as we already do to find the path to init and prepare-root.

Doing so avoids rebuilding the initrd all the time.
2024-10-16 17:42:58 +02:00
hellodword
a476fdb246
nixos/sing-box: test iproute2_table_index and iproute2_rule_index 2024-10-16 14:18:18 +00:00
hellodword
edd07654e4
nixos/sing-box: migration of deprecated fields 2024-10-16 13:28:06 +00:00
Aaron Andersen
2ab323a087
nixos/github-runners: Make 'enable' functional (#342996) 2024-10-16 10:18:14 +02:00
Florian Klink
23f0d0153c
nixos/tests/gerrit: Drop dead hook to LFS plugin (#347660) 2024-10-16 08:46:51 +02:00
Robert Schütz
fb2d897809
nixos/headscale: don't set deprecated options in config (#347991) 2024-10-15 16:22:18 -07:00
Felix Singer
501b85f3d5 nixos/tests/gerrit: Drop dead hook to LFS plugin
The URL scheme for downloading plugins has changed a long time ago and
the used URL is dead. Gerrit only throws an error since it can't load
the plugin but it continues to boot. However, instead of maintaining
URLs to 3rdparty plugins, which end up dead anyway, just drop it. The
test should cover Gerrit and not 3rd party plugins.

Also, while on it, drop the setting `plugins.allowRemoteAdmin = true`
since it's not needed.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2024-10-15 20:56:22 +02:00
Will Fancher
a6e54f566a
nixos/networkd: support systemd-creds in WireGuard (#346964) 2024-10-15 14:31:27 -04:00
rnhmjoj
127dcca388
nixos/tests/networking: test nameservers via DHCP 2024-10-15 11:53:05 +02:00
Yaya
209b7f634b nixosTests.snipe-it: fix test 2024-10-15 09:11:35 +02:00
Artturin
431d0a19ef
xdg-desktop-portal: Fix installedTests (#344743) 2024-10-14 21:36:39 +03:00
Adam C. Stephens
86420f4ee8
nixos/atticd: init module (#347749) 2024-10-14 09:33:35 -04:00
Maximilian Bosch
782b08ba3d
Merge: percona: update packages, init 8.4 (#346027) 2024-10-14 12:40:48 +02:00
Markus Kowalewski
812640f38a
nixos/saunafs: add module + test (#347337) 2024-10-14 09:24:51 +02:00
Vladimír Čunát
a3c0b3b215
Revert "nixos/tests/networking: test nameservers via DHCP"
This reverts commit bad5251e87.

https://github.com/NixOS/nixpkgs/pull/348305#issuecomment-2410165312
Should've known that commit starting with `bad` will be no good.
Fixes nixosTests.networking.networkd.dhcpSimple
https://hydra.nixos.org/build/274843085/nixlog/8/tail
2024-10-14 08:48:30 +02:00
Oliver Schmidt
6d0da9a167 tests/mysql: properly specify percona packages 2024-10-13 23:04:24 +02:00
Adam Stephens
8d4f3f2b3e
nixos/atticd: init module
Copied from 1b29816235/nixos/atticd.nix and modified
2024-10-13 08:23:34 -04:00
Azat Bahawi
cceb5afb5c
nixosTests.endlessh-go: fix to match current module (#347976) 2024-10-13 09:10:04 +00:00
Kirill Radzikhovskyy
df3ae6ee5c nixosTests.timescaledb: fix build, bump postgres version 2024-10-13 19:21:23 +11:00
K900
001fb496bf Merge remote-tracking branch 'origin/master' into staging-next 2024-10-12 21:08:11 +03:00
Markus Kowalewski
d22d60f3ac
nixos/saunafs: add module + test 2024-10-12 19:13:00 +02:00
Cosima Neidahl
e58a261efb
lomiri.*: Updates (#341377) 2024-10-12 16:49:25 +02:00
K900
ca82458e77 nixos/tests/nixos-rebuild-target-host: fix test
Fixes #348043
2024-10-12 10:32:59 +03:00
Robert Schütz
b5cb8fb063 nixos/tests/headscale: set dns.base_domain
Otherwise the test fails with

    dns.base_domain must be set when using MagicDNS
2024-10-11 20:10:31 -07:00
github-actions[bot]
4f2eec3440
Merge master into staging-next 2024-10-12 00:13:45 +00:00
Philipp Bartsch
60eaae1d78 nixosTests.endlessh-go: fix to match current module
Tests were not changed according to the new prometheus firewall port
settings.

With this change we now check that the port is not accessible form the
outside, while everything still works from localhost.
2024-10-11 21:30:19 +02:00
Atemu
12ef18d2e3
nixos/systemd-boot: Simpler windows dual booting (#344327) 2024-10-11 20:25:08 +02:00
github-actions[bot]
ca2d394166
Merge master into staging-next 2024-10-11 12:05:38 +00:00
Sandro
eac17593c1
croc: 10.0.11 -> 10.0.13 (#338918) 2024-10-11 11:38:18 +02:00
Felix Uhl
73011ba96f nixos/systemd-boot: add windows option for easy dual-booting
When installing NixOS on a machine with Windows, the "easiest" solution
to dual-boot is re-using the existing EFI System Partition (ESP), which
allows systemd-boot to detect Windows automatically.

However, if there are multiple ESPs, maybe even on multiple disks,
systemd-boot is unable to detect the other OSes, and you either have to
use Grub and os-prober, or do a tedious manual configuration as
described in the wiki:
https://wiki.nixos.org/w/index.php?title=Dual_Booting_NixOS_and_Windows&redirect=no#EFI_with_multiple_disks

This commit automates and documents this properly so only a single line
like

    boot.loader.systemd-boot.windows."10".efiDeviceHandle = "HD0c2";

is required.

In the future, we might want to try automatically detecting this
during installation, but finding the correct device handle while the
kernel is running is tricky.
2024-10-11 10:56:02 +02:00
Felix Uhl
f2e5b04c4e nixos/systemd-boot: add edk2-uefi-shell boot option
We already have a edk2-uefi-shell package in nixpkgs, but adding it to
systemd-boot was somewhat tedious. Now it's a single line of nix.
2024-10-11 10:53:42 +02:00
Felix Uhl
548206583d nixos/systemd-boot: autoformat 2024-10-11 10:53:38 +02:00
OPNA2608
1b660ba22a tests/lomiri: Test keymap switch, make keymap OCR more consistent 2024-10-11 05:18:44 +02:00