nikstur
6958acea7e
Merge pull request #262179 from ElvishJerricco/systemd-stage-1-specific-fs-packages
...
systemd-stage-1: Use specific fs packages
2023-10-21 13:25:42 +02:00
Bjørn Forsman
142074c2a8
nixos: fix bad mkEnableOption descriptions
...
Fix descriptions that don't account for (1) the "Whether to enable"
prefix or (2) the automatically added trailing dot.
2023-10-20 16:22:40 +01:00
Janne Heß
a1012b2160
nixos/switch-to-configuration: Allow not filtering units
2023-10-20 15:45:43 +02:00
Arian van Putten
0257e9f13a
Merge pull request #261449 from arianvp/growpart-online
...
nixos/grow-partition: Resize partition online instead of in initrd
2023-10-20 09:25:31 +00:00
Will Fancher
18013cc71e
systemd-stage-1: Use specific fs packages
2023-10-19 21:13:22 -04:00
nicoo
ea0dcd0ae1
nixos/systemd-boot: Avoid remote mypy executions
2023-10-19 20:58:52 +01:00
Arian van Putten
80a578580f
nixos/grow-partition: Resize partition online instead of in initrd
...
There's no reason to do this in initrd. Partitions can be resized online.
We just have to make sure it happens before we resize the file system.
This also makes grow-partition work with systemd-initrd
2023-10-19 12:34:27 +00:00
Philip Taron
173a3a25f0
Remove restriction on PhysicalDevice being int; reformat and document the Type field
2023-10-17 09:43:37 -07:00
Philip Taron
989cca26c4
systemd.network.netdev: Add support for WLAN devices
...
These are virtual interface, where one physical wifi adapter can have
more than one interface.
See https://systemd.network/systemd.netdev.html#%5BWLAN%5D%20Section%20Options
and dedf2d0054
2023-10-16 15:04:44 -07:00
Jörg Thalheim
b7057368c8
systemd-boot-builder: add missing fsync in atomic writes
...
write(2) and close(2) doesn't ensure the file content actually got synched, so let's also fsync before doing the rename
2023-10-10 14:49:51 +02:00
Jörg Thalheim
865a2cf8c1
Revert "nixos/systemd-boot: skip EFI update to 252"
...
This reverts commit 80665d606a
.
Parsing the package version broke our systemd-boot builder test.
i.e. it won't be able to parse systemd-boot efi binaries coming from
ubuntu
We no longer use the faulty systemd-boot version so this code should no
longer be needed.
2023-10-10 14:49:51 +02:00
Jörg Thalheim
b7fbd1ffd4
systemd-boot-builder: use regex prefix string
...
otherwise there are warnings for \.
2023-10-10 14:49:51 +02:00
Jörg Thalheim
5ee9fdf929
systemd-boot-builder: use new builtin typing style
2023-10-10 14:49:51 +02:00
Jörg Thalheim
e20a886f87
systemd-boot-builder: drop unused import
2023-10-10 14:49:51 +02:00
Jörg Thalheim
a17f41ed0b
systemd-boot-builder: replace mkdir_p function with stdlib equivalent
2023-10-10 14:49:51 +02:00
Jörg Thalheim
f4bf9702be
systemd-boot-builder: always do syncfs, even after a failure
2023-10-10 14:49:51 +02:00
Jörg Thalheim
dbac7467ad
systemd-boot-builder: drop semicolons
...
this is python, not C.
2023-10-10 14:49:51 +02:00
Jörg Thalheim
1f70361d08
systemd-boot-builder: resort imports according to isort
...
foo
2023-10-10 14:49:51 +02:00
Florian Klink
7239f0198e
Merge pull request #258920 from ElvishJerricco/systemd-stage-1-full-build
...
systemd-stage-1: Default to full systemd build.
2023-10-04 12:02:36 +03:00
Florian Klink
42f2e2dadd
Merge pull request #257510 from ign0tus/fix/wake-on-lan-policy
...
Fix: WakeOnLan policy
2023-10-04 11:36:16 +03:00
Will Fancher
710b96b191
systemd-stage-1: Default to full systemd build.
2023-10-04 04:21:35 -04:00
Florian Klink
d89aa11c89
Merge pull request #258345 from lf-/jade/wait-for-online
...
nixos/networkd: fix wait-online on networking.useDHCP default configuration
2023-10-04 10:58:14 +03:00
Will Fancher
37601de942
Merge pull request #237154 from ElvishJerricco/sd-s1-networkd-flush-with-keep-configuration
...
systemd stage 1 networking: Use KeepConfiguration
2023-10-03 23:37:03 -04:00
Jade Lovelace
28ab2b278d
nixos/networkd: make wait-online not time out
...
A further bug to our strange multi-user.target depending on
network-online.target issue is that systemd recently changed the
behaviour of systemd-networkd-wait-online to no longer consider the
absence of interfaces with RequiredForOnline to be sufficient to be
online: https://github.com/systemd/systemd/pull/27825
On the advice of the systemd developers
(https://github.com/systemd/systemd/issues/29388 ), this commit changes
the configuration of systemd-networkd-wait-online to pass --any by
default, and lets the default DHCP interfaces be RequiredForOnline
as they would be by default if the option is omitted.
It is plausible that systemd-networkd-wait-online may still fail if
there are no interfaces at all. However, that probably cannot be
avoided.
2023-10-02 14:47:21 -07:00
Ryan Lahfa
3c3ef90189
Merge pull request #242191 from tie/systemd-required-for-online-range
2023-09-30 01:16:21 +02:00
Adam Stephens
b1237da5b2
systemd: revert allow udev-trigger for lxd nested containers
2023-09-28 13:58:11 -04:00
ign0tus
237f7ba7d2
networkd: Allow combinations of WakeOnLan policies
...
To comply with the systemd.link WakeOnLan[^1] specification, the option
"off" and all other possible policy combinations must be allowed.
[^1]: https://www.freedesktop.org/software/systemd/man/systemd.link.html#WakeOnLan=
2023-09-28 17:04:35 +02:00
Mario Rodas
25b9f4d2b6
Merge pull request #255116 from adamcstephens/lxd/udev-container
...
systemd: allow udev-trigger to run on lxd containers with nesting
2023-09-28 02:17:27 -05:00
Ryan Lahfa
12eb1e5d28
Merge pull request #249412 from JTarasovic/jdt/systemd-networkd/ipv6-assign-prefix
2023-09-27 18:39:00 +02:00
Ryan Lahfa
cb403e56a6
Merge pull request #249386 from JTarasovic/jdt/systemd-networkd/dhcpv6config
2023-09-27 18:38:16 +02:00
github-actions[bot]
fc1f757bf6
Merge master into staging-next
2023-09-25 18:01:06 +00:00
Yureka
6500b4580c
Revert "nixos/boot/rasbperrypi: add support for boot.initrd.secret with uboot ( #240358 )" ( #257251 )
...
This reverts commit 94e939985b
.
2023-09-25 14:22:51 +02:00
github-actions[bot]
ab2ecc25c1
Merge master into staging-next
2023-09-23 18:00:59 +00:00
Janne Heß
cc55ef9d55
Merge pull request #254993 from helsinki-systems/feat/stc-mount-improvements
...
nixos/switch-to-configuration: Mount improvements and a lot more test cases
2023-09-23 17:03:13 +02:00
digital
94e939985b
nixos/boot/rasbperrypi: add support for boot.initrd.secret with uboot ( #240358 )
...
Co-authored-by: digital <didev@dinid.net>
2023-09-23 14:32:09 +02:00
Janne Heß
85c1c30fd9
nixos/switch-to-configuration: Never unmount / or /nix
...
Also adds a huge test for fstab handling
2023-09-22 10:26:10 +02:00
github-actions[bot]
3245a21e71
Merge master into staging-next
2023-09-19 06:01:00 +00:00
Artturi
73d552ecb7
Merge pull request #254918 from RaitoBezarius/dnssec-resolved
2023-09-19 06:45:07 +03:00
Erno Hopearuoho
7d112f7da3
luksroot: fix issue when yubikey is detached during boot process
...
Fixes #228141 , which describes an issue where detaching Yubikey during the boot process
causes cryptsetup to write empty passphrase instead of the challenge-response salt stored
on the boot drive.
2023-09-18 23:10:06 -03:00
github-actions[bot]
cb25ab46c1
Merge master into staging-next
2023-09-18 00:02:10 +00:00
Jörg Thalheim
fd6901755d
stage1: use correct zfs package
...
This in particular broke zfsUnstable because it added symbols not present in zfsStable
2023-09-17 21:11:29 +02:00
Adam Stephens
8565cd862a
systemd: allow udev-trigger to run on lxd containers with nesting
2023-09-14 09:17:33 -04:00
Janne Heß
d1c1335908
nixos/switch-to-configuration: Test more action things
2023-09-13 16:42:19 +02:00
Raito Bezarius
97ee93da10
systemd: apply upstream patch for tmpfiles
...
This fixes notably the fact that /dev/zfs was not usable anymore as a user,
and potentially other things.
Tracked in systemd upstream under issue number 28653, 28765.
2023-09-13 12:02:41 +02:00
Raito Bezarius
fe6e299381
systemd: 253.5 -> 254-rc1
...
This is an early preparation for systemd v254 which causes some patch reflows
and EFI-related cleanups to their new build system with elf2efi, requiring pyelftools
as a Python packge.
2023-09-13 12:02:39 +02:00
Raito Bezarius
4f461f7b77
nixos/modules/system/resolved: disable DNSSEC validation by default
...
Historically, we allowed downgrade of DNSSEC, but some folks argue
this may decrease actually the security posture to do opportunistic DNSSEC.
In addition, the current implementation of (opportunistic) DNSSEC validation
is broken against "in the wild" servers which are usually slightly non-compliant.
systemd upstream recommended to me (in personal communication surrounding
the All Systems Go 2023 conference) to disable DNSSEC validation until
they work on it in a significant capacity, ideally, by next year.
2023-09-13 11:49:16 +02:00
Artturi
48a57a9884
Merge pull request #254480 from andersk/memtest86plus-name
2023-09-12 18:19:50 +03:00
Maciej Krüger
78e149fba3
Merge pull request #244722 from mdlayher/mdl-dhcp
2023-09-11 21:12:56 +02:00
Anders Kaseorg
191dee486f
nixos/systemd-boot: Fix Memtest86+ name.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2023-09-10 18:44:20 -07:00
Florian Klink
688d95b6e6
Merge pull request #254056 from n8henrie/master
...
Include note about systemd default watchdog reboot time
2023-09-10 16:07:44 +02:00