bf219a30c2
fix(lint): nixfmt the whole tree
2026-03-22 21:56:13 +01:00
d545c6f4f3
fix(boot): rename extraSutrcturedConfig to structuredExtraConfig
...
The former was removed
2026-01-20 23:11:08 +01:00
000f0eda8e
HACK: [BOOT] disable optimizations
2025-11-10 15:57:46 +01:00
4fb66497db
[Boot] fix build failure
2025-11-10 15:57:46 +01:00
183a38ec0b
[Boot] allow remove kernel parameters by setting them to null
2025-04-30 17:15:13 +02:00
9c2853288f
[Boot] Remove outdated backports and try to make patches work again
2025-03-12 10:14:23 +01:00
c764e700a9
[Boot] quieter boot
2025-01-17 11:56:13 +01:00
b4c4dde1d0
[Boot] debug aviallon.boot.kernel.package
2024-11-18 23:53:05 +01:00
2c9e17b20d
[Boot] disable ZSWAP_ZPOOL_DEFAULT_Z3FOLD as it no longer exists
2024-11-07 13:00:26 +01:00
be2519d689
[Boot] keep graphic mode even on legacy BIOS
2024-10-11 23:13:06 +02:00
db4ef38b10
[Boot] change option type for aviallon.boot.kernel
2024-10-11 23:12:54 +02:00
819f6167d5
[Boot] disable RT_GROUP_SCHED by default
...
Causes issues with the standard way of making realtime processes
2024-05-23 12:12:24 +02:00
f835a985f4
[Boot] enable RT_GROUP_SCHED by default if optimizations enabled
...
Documented here:
https://www.kernel.org/doc/html/latest/scheduler/sched-rt-group.html
It looks like the documentation is very outdated though (as SCHED_EDF
exists and is named SCHED_DEADLINE).
2024-05-07 16:23:40 +02:00
7bf56dc7ac
[Boot] formatting improvements
2024-05-03 15:59:19 +02:00
0088bd9cbf
[Boot] zswap: use z3fold allocator by default
...
Much better than zbud which is limited to a 2x compression ratio.
2024-05-03 15:58:43 +02:00
2c11e25f98
[Boot] remove loops_per_jiffies option
...
No longer has any real effect on the kernel boot time
2024-04-16 19:11:10 +02:00
2fed0d81d6
[Boot] set bootloader timeout and systemd-boot consoleMode globally
...
Default to max res in systemd-boot + hide boot menu if systemd-boot is
used.
2024-04-05 13:53:54 +02:00
8c2335f27c
[Boot] fix X32 abi config option name
2024-04-04 15:26:02 +02:00
d6340f65d1
[Boot] use zstd for module compression instead of xz
...
Faster and avoids using XZ in such a critical area.
2024-04-04 14:38:52 +02:00
bb08c18f92
[Boot] reduce boot verbosity from systemd (define sensible values based on boot.consoleLogLevel)
2024-03-08 22:55:22 +01:00
9c999a070d
[Boot] fix last boot marking for Nixos 23.11 + fix issue when not booted into a specialization
2024-01-10 21:52:48 +01:00
364f149725
[Boot] successful boot marking: handle specialization
2023-12-26 17:54:28 +01:00
8f7bc11e09
[Boot] move kernel no-DRM patch to a sed expression
2023-12-26 17:54:02 +01:00
02b9cc2601
[Boot] post-process systemd-boot entries to mark the currently booted entry while generating the conf
2023-11-07 21:41:03 +01:00
821288263b
[Boot] use systemd stage-1 init by default
2023-11-07 21:28:41 +01:00
de157af8a9
[Boot] add KRUSTFLAGS to kernel build
2023-11-07 21:28:21 +01:00
ec9cfceda6
[Boot+Treewide] rename aviallon.boot.kernel to aviallon.boot.kernel.package
...
Rename aviallon.boot.extraKCflags to aviallon.boot.kernel.addOptimizationAttributes
Also add an option to add non-optimization attributes to kernel derivation.
2023-11-07 21:27:57 +01:00
2be5863af8
[Boot] Add optional patch to remove Linux kernel DRM (EXPORT_SYMBOL_GPL)
2023-11-05 23:48:21 +01:00
8c76734e33
[Boot/Optimizations] use CPU informations to optimize kernel + add option to specify extra CFLAGS for kernel build
2023-10-31 14:52:28 +01:00
c1d4a910f6
[Boot] enable bootspec validation
2023-06-26 20:39:57 +02:00
8b05a0634d
[Boot] only apply patches or backports if they don't already exist in upstream
2023-06-26 20:39:46 +02:00
e7f7c9a669
[General]: Update configuration to NixOS 23.05 beta
2023-05-25 11:38:51 +02:00
4902f855c9
[Overlays] Move packages in more specific modules
2023-05-18 00:40:26 +02:00
bc8978484f
[Treewide] Rename cpuXxxx references to cpu.xxxx references
2023-05-07 01:03:58 +02:00
127117d52e
[Boot] Greatly reduce configurationLimit, slightly raise it when developer mode is enabled
2023-04-16 22:38:10 +02:00
d3ec1f59ff
[Boot] mark configured kernel packages as second-highest priority (just behind mkForce)
2023-04-15 16:18:47 +02:00
ac42f2fa18
[Boot] add amd cluster id patches
2023-04-13 21:00:46 +02:00
b5e030c852
[Boot] use NixOS default for systemd-boot console mode
2023-04-13 20:59:34 +02:00
485ee562bb
[Boot] Verify that current kernel is Xanmod kernel before applying march config
2023-04-12 00:41:32 +02:00
e6f3e0719a
[Boot] legacy BIOS -> Grub using assert
2023-04-12 00:40:43 +02:00
8a7f49c5a1
[Boot+Optimizations] Add Kconfig option for Zen4
2023-04-05 16:20:27 +02:00
33060cff17
[Boot] Remove EFI boot auto-detection, demand explicit configuration instead
2023-04-04 16:05:43 +02:00
91c5ba1e69
[Boot] Add kernel config option to aviallon namespace
...
Allows advanced patching / overriding of the kernel while still allowing
to set the kernel in other modules.
2022-11-09 17:26:18 +01:00
47bf44eb3a
[Boot] Better boot console resolution
...
Hopefully
2022-10-22 13:35:41 +02:00
7fe3bbba5f
[Boot] Add energy model support in kernel (if enabled)
...
Also fix syscall.x32 being on cmdline needlessly if not built into the kernel.
2022-10-12 18:41:15 +02:00
2f20fad072
[Nix+Optimizations] Fix distributed builds.
...
Also fix kernel and openssh if optimizations are turned off.
2022-10-08 21:22:14 +02:00
d0ff636208
[Boot/Kernel] Add option to enable RT_GROUP_SCHED Kconfig.
...
Also fix lpj when value is set to 0.
2022-10-04 22:31:07 +02:00
c4ce50500e
[Boot/Kernel] Linux kernel arch optimizations and kvdo remove (now upstream).
...
Add hardware-specific compile option to kernel build if aviallon.general.cpuArch is set
2022-10-04 22:29:05 +02:00
c84b845d12
[Boot] Always add cmdline arguments
...
Even if boot config is disabled
2022-06-09 01:03:10 +02:00
09e949be39
[Boot] Always add cmdline parameters even if boot config is disabled
...
Fix boot.loader.grub.device if cfg.efi is false
2022-05-09 00:08:45 +02:00