Commit Graph

44084 Commits

Author SHA1 Message Date
K900
cc536b4cb8 nixos/tests/mutable-users: use specialisations instead of multiple machines 2024-09-08 17:09:01 +03:00
K900
fda8ac99d5 nixos/tests/firewall: use specialisations instead of multiple machines 2024-09-08 17:09:01 +03:00
K900
58ef00c5f7 nixos/tests/containers-restart_networking: use specialisations instead of multiple machines
The test is still broken.
2024-09-08 17:04:45 +03:00
K900
a6bba7fbbc nixos/tests/containers-reloadable: use specializations instead of multiple machines 2024-09-08 17:04:45 +03:00
K900
97a449ee8f nixos/tests/chrony: actually restart chrony when switching to hardened config
This breaks the test. Fun.
2024-09-08 17:04:45 +03:00
K900
7dd3489dab nixos/tests/chrony: use specializations instead of multiple machines 2024-09-08 17:04:45 +03:00
K900
8a41d0f992 nixos/tests/installer: add newly missing switch-to-configuration dependencies 2024-09-08 17:04:45 +03:00
K900
4cfbbb3c1d nixos/tests: don't include switch-to-configuration in DUT by default 2024-09-08 17:04:44 +03:00
K900
7771e0b943 nixos/specialisation: add isSpecialisation option to know if we're a specialisation 2024-09-08 17:04:44 +03:00
phaer
22794b93e0
security/acme: shellcheck fixes 2024-09-08 12:29:58 +02:00
r-vdp
955e3cd8fe
kexec: fix shellcheck issues 2024-09-08 12:26:22 +02:00
K900
fa39e3d642 nixos-install: fail if we can't set up bootloader 2024-09-08 11:05:59 +03:00
Guanran Wang
bde8f99741
nixos/amd-microcode: remove alias 2024-09-08 15:15:12 +08:00
Guanran Wang
a55aaa547c
nixos/intel-microcode: remove alias 2024-09-08 15:11:50 +08:00
github-actions[bot]
69276ad883
Merge master into staging-next 2024-09-08 06:04:18 +00:00
Yuxuan Shui
036d05a466 nixos/samba: fix migration guide for securityType 2024-09-08 00:26:27 +01:00
github-actions[bot]
5a5ebe5a1c
Merge master into staging-next 2024-09-07 18:04:01 +00:00
Martin Weinelt
458c073712
neard: 0.18 -> 0.19-unstable-2024-07-02 (#337524) 2024-09-07 18:00:14 +02:00
Florian Klink
3aca239152
nixos/caddy: restart caddy on config change when "enableReload" is turned off (#335983) 2024-09-07 22:22:24 +07:00
K900
d1c49286e9
nixos/samba: fix conditional activation of samba services (#340272) 2024-09-07 16:53:16 +03:00
Weijia Wang
bad886d556
ayatana-indicator-bluetooth: init at 24.5.0 (#336982) 2024-09-07 14:46:32 +02:00
github-actions[bot]
de15243c9a
Merge master into staging-next 2024-09-07 12:04:51 +00:00
Azat Bahawi
3f2297f073
nixos/endlessh-go: fix firewall bugs (#339701) 2024-09-07 10:22:25 +00:00
Bobby Rong
d75e11e528
nixosTests.gnome-flashback, nixosTests.mate-wayland: Unbreak (#340274) 2024-09-07 17:14:52 +08:00
Bobby Rong
edd38d460c
nixos/tests/mate-wayland: Disable flaky OCR test
Restarting the test helps though. The text is probably too small in size?
2024-09-07 17:03:24 +08:00
Bobby Rong
dc1c788778
nixos/tests/mate-wayland: Don't enable Pulseaudio
Fixes "Using PipeWire as the sound server conflicts with PulseAudio".
2024-09-07 16:40:41 +08:00
Aleksana
b4b441a852
nixos/matterbridge: add services.matterbridge.package option (#340180) 2024-09-07 16:27:52 +08:00
Anthony ROUSSEL
1938960bfe nixos/samba: fix conditional activation of samba services 2024-09-07 10:16:03 +02:00
K900
f7e4fc6e56
Wireplumber 0.5.6 (#340154) 2024-09-07 09:46:17 +03:00
github-actions[bot]
319af78438
Merge master into staging-next 2024-09-07 06:04:15 +00:00
Will Fancher
6ca18cee34
zfs: Fix samba freeform settings and 2.1 build (#340165) 2024-09-06 23:48:36 -04:00
github-actions[bot]
b6b2ac4f61
Merge master into staging-next 2024-09-07 00:12:59 +00:00
kirillrdy
5f4c0543d2
Flarum: fix installation and client interface issues (#339202) 2024-09-07 06:32:54 +10:00
Leona Maroni
7d414ecebb
sway: integrate with systemd (#323670) 2024-09-06 22:25:11 +02:00
Will Fancher
9bd0b5ac05 nixos/tests/zfs: Fix flake build 2024-09-06 16:07:55 -04:00
Will Fancher
1da41e937e nixos/tests/zfs: Fix samba freeform settings 2024-09-06 16:07:51 -04:00
Gabriel Fontes
13f6e6da35
nixos/matterbridge: add services.matterbridge.package option 2024-09-06 17:07:41 -03:00
Will Fancher
3f4b9096f6
nixos/zfs: mitigate data loss issues when resuming from hibernate (#208037) 2024-09-06 14:50:59 -04:00
github-actions[bot]
079813d5c4
Merge master into staging-next 2024-09-06 18:03:54 +00:00
K900
a0134dd1d8 nixos/wireplumber: drop hack for systemwide setups
Should not be necessary with 0.5.6.
2024-09-06 20:58:12 +03:00
Aaron Ecay
345618de26
nixos/zfs: mitigate data loss issues when resuming from hibernation 2024-09-06 13:39:21 -04:00
Bjørn Forsman
4861c28956 homebox: update URLs in documentation
https://github.com/hay-kot/homebox was archived on 2024-06-12 and we use
the https://github.com/sysadminsmedia/homebox fork since the beginning,
in commit 4be8e799db
("homebox: init at 0.13.0").

Update the documentation to be in sync with the source we build from.
2024-09-06 19:34:15 +02:00
Anthony Roussel
88dbefd1f2 nixosTests.samba: add anthonyroussel to maintainers 2024-09-06 17:53:22 +02:00
Anthony Roussel
56ae1fb452 nixos/samba: split and sync SystemD services with upstream 2024-09-06 17:53:22 +02:00
Anthony Roussel
ac29b192d8 nixos/samba: use mkEnableOption when possible 2024-09-06 17:53:22 +02:00
Anthony Roussel
3f0b4964c3 nixos/samba: add documentation to systemd.services 2024-09-06 17:53:22 +02:00
Anthony Roussel
7a3bba220d nixos/samba: add services.samba.smbd.enable option 2024-09-06 17:53:22 +02:00
Anthony Roussel
ee6c8db585 nixos/samba: reorganize and rename module options 2024-09-06 17:53:22 +02:00
Anthony Roussel
3b48a7e013 nixos/samba: add documentation 2024-09-06 17:53:22 +02:00
Anthony Roussel
988c598106 nixos/samba: migrate to structural settings (RFC42) 2024-09-06 17:53:22 +02:00
laalsaas
a89b885ae9 sway: integrate with systemd
see: https://github.com/swaywm/sway/wiki/Systemd-integration
2024-09-06 15:59:37 +02:00
Aleksana
ba77fd6501
nixos/tests/dex-oidc: fix build (#340042) 2024-09-06 21:25:23 +08:00
github-actions[bot]
bd4b5a5be6
Merge master into staging-next 2024-09-06 12:05:08 +00:00
ajs124
54604767a2
remove myself from maintainer list of packages I don't use anymore (#339910) 2024-09-06 13:05:55 +02:00
K900
03188ca926
Revert "nixos/all-tests: skip hibernate test for now" (#340047) 2024-09-06 13:57:35 +03:00
Alyssa Ross
d4838fd5ef
Revert "nixos/all-tests: skip hibernate test for now"
This reverts commit a1de57d6fc.

We're now on QEMU 9.1.0, which contains the fix.
2024-09-06 12:53:55 +02:00
K900
91b7e41f61 nixos/tests/containers-imperative: add Perl library that is now missing due to stc-ng 2024-09-06 13:40:31 +03:00
K900
7d34adda13 nixos/tests/installer: add some Perl libraries that are now missing due to stc-ng 2024-09-06 13:40:17 +03:00
OPNA2608
132b5ce9d3 nixos/lomiri: Add bluetooth indicator 2024-09-06 12:08:10 +02:00
ghpzin
e7d5deb19f
nixos/tests/dex-oidc: fix build
- change way of getting approval code to parsing query parameter from
redirect_url of login request
- add 2 minute timeouts to parts that can wait up to 15 minutes
by default (timeout defaults to 900)
2024-09-06 13:01:04 +03:00
OPNA2608
00929036f8 tests/ayatana-indicators: Add ayatana-indicators-bluetooth 2024-09-06 11:59:46 +02:00
Emily
fe63e7a0aa
nixos: switch to switch-to-configuration-ng by default (#339727) 2024-09-06 09:30:27 +01:00
K900
cc6e93a617 nixos/release-small: also gate on simpleUefiSystemdBoot test on x86_64
We're building it anyway, might as well
2024-09-06 11:27:13 +03:00
Emily
616b34597a nixos/release-small: actually remove minimal installer ISOs
Fixes: 862911fd22
2024-09-06 09:06:24 +01:00
Emily
862911fd22 nixos/release-small: remove minimal installer ISOs
These take up 2 GiB every time anything in the minimal installer
changes, or up to 4 GiB per day. We already stopped building Amazon
images in 9426d90c67. Meaningful
installer changes are rare enough, and the couple of days it takes
for them to trickle down to the large channel acceptable enough,
that this is mostly a waste of space.

This should buy enough slack to build `stdenv` on `staging` without
contributing to cache size growth.
2024-09-06 08:56:39 +01:00
Emily
a5cfd68cb1 nixos/doc/perlless: remove outdated warning 2024-09-06 08:35:43 +01:00
Emily
866a8e220c nixos/perlless: remove redundant system.switch.enableNg
This is now on by default.
2024-09-06 08:35:43 +01:00
Emily
73f34448ca nixos/tests/switch-test: simplify enableNg setting 2024-09-06 08:35:43 +01:00
Emily
56dea6da87 nixos: switch to switch-to-configuration-ng by default
The Rust `switch-to-configuration-ng` rewrite was carefully written
to be compatible with the original Perl script, has been checked
against NixOS VM tests, and has been available on an opt‐in basis
for testing for the 24.05 release cycle.

The next step towards replacing the Perl script entirely is to
switch it on by default so that we can get real‐world testing from
a much greater number of users. Maintaining two implementations in
parallel is becoming a burden; we are having to adjust the systemd
service activation behaviour slightly to fix a long‐standing bug,
and backporting the changes to the Perl script is an unpleasant
process. We will do it anyway to ensure that the Rust and Perl
implementations keep parity with each other throughout the 24.11
release cycle, but we think the time has come to flip the switch.

Taking this step now will give us two to three months to test this in
the wild before the 24.11 release and gain confidence that there are
no regressions. If any non‐trivial problems arise before the final
release, we will revert to the Perl implementation by default. Doing
this switch ASAP will help to disentangle any problems that might
arise from the Rust implementation from problems that arise from the
systemd service activation changes, or the upcoming switch to using
systemd in stage 1 by default.

The main concern that was raised about replacing the Perl script in the
PR that added `switch-to-configuration-ng` was that it is currently
possible to run NixOS on systems that cannot natively host a Rust
compiler. This does not apply to any platforms that have official
support from NixOS, and as far as I know we do not know of any such
systems with users that are not cross‐compiling anyway.

My understanding is that these systems are already broken by default
anyway, as `systemd.shutdownRamfs.enable` is on by default and uses
`make-initrd-ng`, which is also written in Rust. Switching the default
while keeping the Perl implementation around will give us at least
an entire release cycle to find out if there are any users that will
be affected by this and decide what to do about it if so.

There is currently one known inconsistency between
the Perl and Rust implementations, as documented in
<https://github.com/NixOS/nixpkgs/issues/312297>; the Rust
implementation has more accurate handling of failed systemd units.

We slightly adjust the semantics of `system.switch.enable{,Ng}` to
not conflict with each other, so that `system.switch.enableNg` is
on by default, but turning off `system.switch.enable` still results
in no `switch-to-configuration` implementation being used. This
won’t break the configuration of anyone who already opted in to
`system.switch.enableNg` and is probably how the option should have
worked to begin with.
2024-09-06 08:35:43 +01:00
github-actions[bot]
6802206bcc
Merge master into staging-next 2024-09-06 06:04:31 +00:00
Kier Davis
3732e94603
maintainers: remove kierdavis 2024-09-06 07:01:02 +01:00
Aleksana
3be36da2d2
unl0kr: remove tomfitzhenry@ as maintainer (#333616) 2024-09-06 12:50:55 +08:00
Yt
fcc6387b76
nixos/stalwart-mail: package and configure webadmin (#314820) 2024-09-06 01:03:27 +00:00
github-actions[bot]
25ef10109d
Merge master into staging-next 2024-09-06 00:13:20 +00:00
Felix Bühler
d7a108054a
nixos/security.acme: remove with lib; (#339101) 2024-09-06 00:08:41 +02:00
Will Fancher
a96e54fe52
initrd: use the new tmpfiles options to create tmpfiles config (#339503) 2024-09-05 17:02:30 -04:00
Will Fancher
5a575e88b6
Revert "nixos: support dm-verity" 2024-09-05 15:56:49 -04:00
Nick Cao
8edc668914
matrix: migrated links to new element-hq org (#339817) 2024-09-05 15:56:44 -04:00
Philip Taron
2dd2a33447
nixos/installer: drop support for ReiserFS and JFS (#339821) 2024-09-05 11:30:06 -07:00
Martin Weinelt
cd601fe2ed
matrix-appservice-irc: 2.0.1 -> 3.0.0 (#339603) 2024-09-05 20:08:28 +02:00
github-actions[bot]
769b11176d
Merge master into staging-next 2024-09-05 18:03:49 +00:00
Philip Taron
9c5c04ca43
nixos/services.ceph: remove with lib; (#339093) 2024-09-05 10:38:52 -07:00
Emily
74b480507f
nixos/doc/rl-2411: improve wording of macOS version warning (#339587) 2024-09-05 16:11:44 +01:00
Emily
7b9bb0a9a1 nixos/installer: drop support for ReiserFS and JFS
ReiserFS has not been actively maintained for many years. It has been
marked as obsolete since Linux 6.6, and is scheduled for removal
in 2025. A warning is logged informing users of this every time a
ReiserFS file system is mounted. It suffers from unfixable issues
like the year 2038 problem.

JFS is a slightly more ambiguous case. It also has not been actively
maintained for years; even in 2008 questions were being raised
about its maintenance state  and IBM’s commitment to it, and some
enterprise distributions were opting not to ship support for it as
a result. It will [indefinitely postpone journal writes], leading
to data loss over potentially arbitrary amounts of time. Kernel
developers [considered marking it as deprecated] last year, but
no concrete decision was made. There have been [occasional fixes]
to the code since then, but even the developer of much of those was
not opposed to deprecating it.

[considered marking it as deprecated]: https://lore.kernel.org/lkml/Y8DvK281ii6yPRcW@infradead.org/
[indefinitely postpone journal writes]: https://www.usenix.org/legacy/events/usenix05/tech/general/full_papers/prabhakaran/prabhakaran.pdf
[occasional fixes]: https://www.phoronix.com/news/JFS-Linux-6.7-Improvements

Regardless of whether JFS should be removed from the kernel, with all
the implications for existing installations that entails, I think
it’s safe to say that no new Linux installation should be using
either of these file systems, and that it’s a waste of space and
potential footgun to be shipping support for them on our standard
installation media. We’re lagging behind other distributions on
this decision; neither is supported by Fedora’s installation media.

(It also just so happens that `jfsutils` is the one remaining package
in the minimal installer ISO that has reproducibility issues, due to
some cursed toolchain bug, but I’m not trying to Goodhart’s law
this or anything. I just think we shouldn’t be shipping it anyway.)
2024-09-05 16:00:35 +01:00
paumr
0088e7d130 matrix: migrated links to new element-hq org
The vector-im GitHub organisation has been renamed to element-hq:
1d586281f0/profile/README.md
2024-09-05 16:40:06 +02:00
phaer
b6114fd1d5 hyperv-image: double default size 2024-09-05 15:56:25 +02:00
phaer
3a505620ec hyperv-image: use virtualisation.diskSize 2024-09-05 15:56:25 +02:00
phaer
f8a876644b virtualbox-image: use virtualisation.diskSize 2024-09-05 15:56:25 +02:00
phaer
52561c65a2 openstack-image-zfs: increase build-time RAM 2024-09-05 15:56:25 +02:00
phaer
db8d63ba70 openstack-image-zfs: sizeMB -> virt[...].diskSize 2024-09-05 15:56:25 +02:00
phaer
a4b1638f7f azure-image: use virtualisation.diskSize 2024-09-05 15:56:25 +02:00
phaer
759de4c54d amazon-image: sizeMB -> virtualisation.diskSize 2024-09-05 15:56:25 +02:00
phaer
d223461d54 digital-ocean-image: use virtualisation.diskSize
This makes negative diskSizes, that were previously allowed illegal.
2024-09-05 15:56:25 +02:00
phaer
d37a3ea1ef promox-image: use virtualisation.diskSize 2024-09-05 15:56:24 +02:00
phaer
9e18e9fedc google-compute-image: use virtualisation.diskSize 2024-09-05 15:56:24 +02:00
phaer
048599f0d7 linode-image: use virtualisation.diskSize 2024-09-05 15:56:24 +02:00
phaer
564b6ce153 oci-{options,image}: use virtualisation.diskSize 2024-09-05 15:56:24 +02:00
phaer
94634e82f8 macos-builder: use virtualisation.diskSize...
...and drop virtualisation.darwin-builder.diskSize.

This makes negative diskSizes illegal.
2024-09-05 15:56:24 +02:00
phaer
39df221e77 virtualisation-options: init
see header comment in virtualisation-options.nix
2024-09-05 15:56:24 +02:00
phaer
04fadac429 run nixfmt-rfc-style 2024-09-05 15:56:22 +02:00