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
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
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
Samuel Dionne-Riel
a178b8a557
cross-workarounds: review implementation
...
This makes it easier to compartmentalize workarounds specific to a
platform.
2022-05-23 17:36:19 -04:00
Samuel Dionne-Riel
3cb35c9112
system-types/uefi: Fix ESP filesystem details
...
Though this is technically wrong; these should be for the partition.
Porting back the updated image builder from Tow-Boot should squash that
issue away.
2022-05-23 15:35:28 -04:00
Samuel Dionne-Riel
9a202d4554
system-types/uefi: Fix udev package name
2022-05-23 15:34:29 -04:00
Amanda Cameron
d154ac5292
initrd-boot-gui: xlibs -> xorg
2022-03-09 11:02:56 -05:00
Ryan Burns
b8471202d3
treewide: remove references to toplevel platform attrs
...
The preferred way to refer to these is via stdenv.*Platform.
These will eventually be aliases in upstream Nixpkgs.
2022-01-01 16:42:07 -08:00
Cole Mickens
650dea7263
android: fix system zip name
2021-10-20 23:16:51 -07:00
Samuel Dionne-Riel
45709499c6
Merge pull request #410 from samueldr-wip/feature/configurable-linux
...
Add kernel configuration to the system evaluations
2021-08-31 14:59:59 -04:00
Samuel Dionne-Riel
a5135286a8
kernel-config: Init module to define minimal required options
...
This is not really meant to provide a user-accessible way to configure
the kernel... But it also works that way I guess!
For now it is *meant* to provide *required options*, so that validation
(and soon normalization) always includes required options.
2021-08-30 17:25:34 -04:00
Samuel Dionne-Riel
fa9f7113ee
modules/system-types/uefi: Mark mobile.outputs
as not visible
2021-08-29 21:53:35 -04:00
Samuel Dionne-Riel
02c6c0307e
modules/system-type/u-boot: Mark mobile.outputs
as not visible
2021-08-29 21:53:35 -04:00
Samuel Dionne-Riel
a601d0d268
modules/system-types/depthcharge: Mark mobile.outputs
as not visible
2021-08-29 21:53:35 -04:00
Samuel Dionne-Riel
d200206b89
modules/system-types/android: Mark mobile.outputs
as not visible
2021-08-29 21:53:35 -04:00
Samuel Dionne-Riel
25c620d9b1
modules/generated-filesystems: Mark mobile.outputs
as not visible
2021-08-29 21:53:35 -04:00
Samuel Dionne-Riel
b5957f3182
modules/device-metadata: Mark internal
2021-08-29 19:51:34 -04:00
Samuel Dionne-Riel
ca609bb72a
modules/outputs: Mark default output as internal
2021-08-29 19:51:34 -04:00
Samuel Dionne-Riel
5a3c2b0531
modules/recovery: Mark internal
2021-08-29 19:51:34 -04:00
Samuel Dionne-Riel
b1bde9f159
modules/stage-0: Mark internal
2021-08-29 19:51:34 -04:00
Samuel Dionne-Riel
c6999de138
system-type/uefi: doc build.* -> outputs.*
2021-08-27 01:21:21 -04:00