Samuel Dionne-Riel
ddace14c87
modules/plymouth: init with workaround for stage-1
2022-10-13 20:23:13 -04:00
Samuel Dionne-Riel
a701b85d0f
modules/beautification: Add splash option
...
This will handle, in a generic manner, the splash tooling used, and also
sets some defaults.
2022-10-13 20:23:13 -04:00
Samuel Dionne-Riel
3ba2ce589c
modules/beautification: init with silentBoot
2022-10-13 20:20:42 -04:00
Samuel Dionne-Riel
05d7726766
modules/zram: init with workarounds for zram
2022-10-12 20:28:37 -04:00
Samuel Dionne-Riel
627a786360
initrd-boot-gui: Fail when LUKS is enabled but GUI disabled
2022-09-30 21:52:42 -04:00
Brian McKenna
278c567a7a
initrd-boot-gui: add option to disable
...
Killing the GUI on my device causes a crash.
2022-09-30 21:10:35 -04:00
Samuel Dionne-Riel
148861e67c
treewide: utillinux -> util-linux
2022-09-26 23:44:11 -04:00
Samuel Dionne-Riel
1754276528
treewide: runCommandNoCC -> runCommand
...
*sighs*
2022-09-26 23:42:22 -04:00
Samuel Dionne-Riel
895584055e
Merge pull request #412 from r-burns/asus-dumo-makeimage
...
asus-dumo: fix make-kernel-its for recent makeimage
2022-06-26 21:44:20 -04:00
Samuel Dionne-Riel
5647758b85
generic images: Stop being fancy with filenames
...
*sighs*...
So many things go wrong for using the "wrong" characters.
2022-05-30 14:28:11 -04:00
Brian McKenna
fb86c3530a
stage-1: remove initFramebuffer option
...
This is unused because the underlying logic has been removed.
2022-05-30 20:52:17 +10:00
Samuel Dionne-Riel
c0dc93621e
initrd-kernel: Fix regression with generic rootfs
...
Follow-up to #478
See 8aa8e0ce7f
2022-05-29 22:56:05 -04:00
Samuel Dionne-Riel
271b9106ae
Merge pull request #488 from samueldr-wip/feature/drop-in-stage-1-integration
...
Drop-in stage-1 integration [and better support for modular kernels]
2022-05-29 22:48:20 -04:00
Samuel Dionne-Riel
3dc7ea997f
uefi/vm: Drop kernel setting
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
d2576aa48b
uefi/vm: Use composeConfig
...
This means that the `uefi-x86_64` system is now almost directly usable
into a "non-Mobile" NixOS system.
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
981a23ea49
modules/initrd-kernel: Always provide /lib/modules
...
Better than adding tortuous logic to skip the Modules Task, and anyway
we'd prefer running "normal" kernels with modules.
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
407ca7a548
modules/initrd-kernel: Use NixOS configured modules with NixOS kernels
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
434880309d
modules/initrd: Disable NixOS stage-1
...
And work around some funky stuff.
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
65423a81f3
modules/initrd-logs: Enable bootlogd by default only if stage-1 is enabled
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
4bf87e03c7
modules/initrd: Add stage-1.enable option
...
This way it is possible to include the Mobile NixOS machinery in a NixOS
configuration and opt-in *only* in the stage-1.
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
780dd9139e
modules/initrd: tiny cleanup
...
Made things easier to understand.
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
832acb8979
modules/mobile-device: Use generic names when Mobile NixOS config is disabled
...
This is used to facilitate inclusion of the Mobile NixOS machinery in a
NixOS config, but opting-in into only a few components (e.g. stage-1)
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
1f12c70977
modules/system-target: Only be noisy on cross-compilation
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
2840b58b31
modules/documentation: Work around issue with split doc builds
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
86cae17386
modules: Drop nixos-disintegration
...
What's still needed will be put in the right modules.
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
6aa9f6e7a5
modules/hardware-screen: Add missing options description
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
81791a42a2
modules/initrd: Rename "null" initrd replacement workaround
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
90200f11f6
modules/initrd-kernel: Rename "null" kernel package
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
a182c5aff6
modules/shared-rootfs: Rename "unused" boot loader file references
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
11b7de1f96
modules/hardware-soc: Use generic-*
config when Mobile NixOS config is disabled
...
This is used to facilitate inclusion of the Mobile NixOS machinery in a
NixOS config, but opting-in into only a few components (e.g. stage-1)
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
f16deac34c
modules/system-build: Only add Mobile NixOS info if config is enabled
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
16b5dae3e8
modules/initrd-kernel: Load evdev/uinput by default
...
Other modules are loaded as needed.
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
93b8ec6e95
modules/system-types: Default to none
when Mobile NixOS config is disabled
...
This is used to facilitate inclusion of the Mobile NixOS machinery in a
NixOS config, but opting-in into only a few components (e.g. stage-1)
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
b8f71bcadf
modules/system-types: Use an appropriate default for kernel file
...
This allows using a normal kernel.
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
b82fa2e475
modules/initrd-kernel: Make missing modules configurable
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
ab76b9b956
modules/initrd-kernel: Remove unused firmwares option and rely on NixOS option
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
0738194174
modules/initrd-kernel: Use NixOS kernel config when not managed
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
53b358e1fe
modules/initrd-kernel: Add toggle for upstream NixOS kernel
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
28c0b6d5ea
modules/rootfs: Allow disabling the options
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
276fd4a821
modules/bootloader: Make bootloader options configurable
...
This will allow re-using the stage-1 outside of Mobile NixOS more
easily.
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
38d5635830
modules/initrd: Rename output to identify more easily
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
e346cad4cf
modules/mobile: Add mobile.enable
main switch
...
When disabled, all Mobile NixOS defaults are disabled, and need to be
enabled independently.
2022-05-29 22:39:11 -04:00
Samuel Dionne-Riel
5979878c98
Merge pull request #483 from samueldr-wip/fix/u-boot-script-oversight
...
system-types/u-boot: Fix build for non-allwinner
2022-05-29 21:46:52 -04:00
Samuel Dionne-Riel
b2b03e18db
system-types/u-boot: Drop U-Boot handling
...
This is because Mobile NixOS is taking a stance. Distros have already
enough to handle, handling what is basically a computer's BIOS is too
much of a burden, and makes things way more awkward than they should be.
By relying on a third-party project, which in turn relies on
standards-based boot, we can start building toward a better future not
only for Mobile NixOS, but for all Linux on ARM.
2022-05-29 19:47:43 -04:00
Samuel Dionne-Riel
0111febeb7
hardware-allwinner: Drop U-Boot configuration
2022-05-29 19:47:43 -04:00
Samuel Dionne-Riel
efbe2c3c54
system-types/u-boot: Fix build for non-allwinner
...
devnum was already provided from the distro bootcmd. Furthermore,
mmc_bootdev is an allwinnerism.
2022-05-25 17:13:45 -04:00
Samuel Dionne-Riel
261b2d061f
Merge pull request #480 from samueldr-wip/feature/nixos-unstable-update
...
Update Nixpkgs pin (and fixes for recent updates)
2022-05-24 15:26:08 -04:00
Samuel Dionne-Riel
ec358658a1
Merge pull request #448 from r-burns/toplevel-platform
...
treewide: remove references to toplevel platform attrs
2022-05-23 19:11:41 -04:00
Samuel Dionne-Riel
d2d3f11326
cross-workarounds: Drop unneeded workarounds
2022-05-23 18:26:14 -04:00
Samuel Dionne-Riel
88b625b227
cross-workarounds: neuter btrfs-progs on armv7l
...
This is needed since the package doesn't build, and is used by
<nixpkgs/nixos/modules/installer/tools/tools.nix>.
2022-05-23 18:25:27 -04:00