Ryan Lahfa
0b0c5fdf95
Merge pull request #230027 from jmbaur/fix-cross-nixos-system
...
nixos/bootspec: Fix cross for nixos-system systemBuilder
2023-05-05 22:05:44 +02: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
Jared Baur
67561dcc59
nixos/bootspec: Fix cross for nixos-system systemBuilder
...
When `nixpkgs.hostPlatform` != `nixpkgs.buildPlatform`, building the
top-level attribute fails since the bootspec portion of the system
builder tries to reference the host platform's `jq`. Change this to
reference the build platform's `jq`.
2023-05-04 20:09:16 -07:00
Rene Hollander
a70c7aba36
nixos/networkd: Fix typo in usage sectionBridgeVLAN
...
The `B` in bridge should be capitalized.
It currently leads to an evuluation error:
```
error: attribute 'sectionbridgeVLAN' missing
at /nix/store/7wmrwj0sgwg1iivxk43lpkqjhji57mq7-source/nixos/modules/system/boot/networkd.nix:2386:56:
2385| example = { VLAN = "10-20"; };
2386| type = types.addCheck (types.attrsOf unitOption) check.network.sectionbridgeVLAN;
| ^
2387| description = lib.mdDoc ''
Did you mean sectionBridgeVLAN?
```
2023-05-04 16:20:56 +02:00
Jörg Thalheim
be8e3128b9
Merge pull request #223418 from Mic92/grub
...
nixos/grub-install: don't rely on shell to run commands
2023-05-04 09:48:41 +01: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
Weijia Wang
b2ef7956b6
Merge pull request #227560 from jackyliu16/loongnix-commit
...
lib.platforms.loongarch64: init
2023-04-28 13:21:42 +03:00
jackyliu16
15e3a50bd3
nixos/binfmt: add loongarch64-linux
2023-04-28 12:11:58 +03:00
Minijackson
b25259e021
nixos/stage-1: follow mount options
...
For fileSystems needed for boot which are bind mounts, busybox tend to
ignore mount options, so we remount right afterwards
2023-04-25 12:47:39 +02:00
Will Fancher
e56084d2a0
systemd-stage-1: Revert assertions about initrd commands
2023-04-22 10:25:16 -04:00
Will Fancher
1598338521
systemd-stage-1: Make networkd options shallow
2023-04-21 21:52:38 -04:00
Will Fancher
5c46e6f4e3
systemd-stage-1: Add assertions for unsupported options.
2023-04-21 13:05:12 -04:00
Will Fancher
8f9416e9e3
systemd-stage-1: Unhide documentation
2023-04-21 13:04:15 -04: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
Artturi
b83db86a9e
Merge pull request #222080 from Stunkymonkey/nixos-optionalString
2023-04-20 16:07:30 +03:00
Will Fancher
3cb9534df6
systemd-initrd: Flush networkd
2023-04-17 16:41:36 -04:00
Will Fancher
8598234651
systemd-initrd: dbus
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
dd392d7c76
systemd-initrd: networkd
2023-04-17 16:41:34 -04:00
lewo
ff24a05847
Merge pull request #206445 from nlewo/ssytemd-boot-fail
...
systemd-boot-builder only ignores OSError "invalid argument"
2023-04-16 22:17:28 +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
Will Fancher
762b69f2ff
systemd-initrd: Fix up root directory mode
2023-04-11 15:20:47 -04: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
Will Fancher
71983a6eb5
systemd-initrd: Don't use SYSTEMD_SULOGIN_FORCE
2023-04-11 15:20:47 -04:00
Felix Buehler
327b0cff7a
treewide: use more lib.optionalString
2023-04-07 13:38:33 +02:00
Robert Hensing
bcd2d49d85
nixos: Make services.resolved discoverable via "systemd-resolved" search
...
This query yielded no results on search.nixos.org.
I don't think I can make all options magically appear, but you can
the other options by reading the text.
2023-04-07 01:09:05 +02:00
Antoine Eiche
2638fb722e
systemd-boot-builder only ignores OSError "invalid argument"
...
In order to fix
https://github.com/NixOS/nixpkgs/issues/114552 (profile name with
special characters), all OSError have been ignored while only the OSError
with errno 22 (invalid argument) could has been ignored.
The drawback of ignoring all OSError is that the "No space left on
device" error is also ignored. When the /boot doesn't have enough
available disk space, the switch-to-configuration script succeeds
while the boot menu has not been updated: the user thinks it's system
has been updated, but on the next reboot it is actually rollbacked.
2023-04-04 09:16:41 +02:00
K900
48b2f723f5
nixos/system: disallow system.copySystemConfiguration in pure eval mode
...
This is already broken, so let's give it a better error message.
2023-03-29 17:49:30 +03:00
Jörg Thalheim
d9c92360a8
nixos/install-grub: stop using bare file handles for readFile/WriteFile
2023-03-27 19:25:46 +02:00
Jörg Thalheim
5a23a24ba2
nixos/grub-install: don't rely on shell to run commands
...
data passed to these programs might be accidentially interpreted as
shell. Discovered in https://github.com/Mic92/envfs/issues/111
2023-03-27 19:21:55 +02:00
Vladimír Čunát
12dd95fbb1
Merge branch 'master' into staging-next
2023-03-24 09:07:41 +01:00
Will Fancher
5a9b9e620d
Merge pull request #176828 from therishidesai/luks-multi-key-files
...
nixos/luksroot: add tryEmptyPassphrase option
2023-03-24 03:02:20 -04:00
github-actions[bot]
6a3714135d
Merge master into staging-next
2023-03-23 00:02:14 +00:00
pennae
31f422d95f
Merge pull request #218721 from apfelkuchen6/nw
...
nixos/networkd: add some missing options
2023-03-22 22:22:03 +01:00
Rishi Desai
cccc3f8a8e
nixos/luksroot: add tryEmptyPassphrase option
2023-03-22 09:17:23 -05:00
Sandro Jäckel
3a5de0e725
nixos/tmp: add a note to useTmpfs on potential issues
2023-03-20 17:27:06 +01:00
Sandro Jäckel
a5d95ac5fc
nixos/tmp: move /tmp options under boot.tmp
2023-03-19 18:49:37 +01:00
apfelkuchen06
0ddfb0a5df
nixos/networkd: add BridgeVLAN options
2023-03-16 03:31:04 +01:00
apfelkuchen06
cd650b3fa3
nixos/networkd: add QuickFairQueueingClass options
2023-03-16 03:31:04 +01:00
apfelkuchen06
fde806d5a5
nixos/networkd: add QuickFairQueueing options
2023-03-16 03:31:04 +01:00
apfelkuchen06
493ed75418
nixos/networkd: add HeavyHitterFilter options
2023-03-16 03:31:04 +01:00
apfelkuchen06
88d99a3630
nixos/networkd: add HierarchyTokenBucketClass options
2023-03-16 03:31:04 +01:00
apfelkuchen06
24df07c786
nixos/networkd: add HierarchyTokenBucket options
2023-03-16 03:31:03 +01:00
apfelkuchen06
29e5451963
nixos/networkd: add TrivialLinkEqualizer options
2023-03-16 03:31:03 +01:00
apfelkuchen06
cf470ebd88
nixos/networkd: add FairQueueing options
2023-03-16 03:31:03 +01:00
apfelkuchen06
dbc14e5a44
nixos/networkd: add FairQueueingControlledDelay options
2023-03-16 03:31:03 +01:00
apfelkuchen06
5b5c79c6a0
nixos/networkd: add GenericRandomEarlyDetection options
2023-03-16 03:28:23 +01:00
apfelkuchen06
ca496f8754
nixos/networkd: add EnhancedTransmissionSelection options
2023-03-16 03:28:23 +01:00