mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2025-01-08 12:48:50 +03:00
fb86c3530a
This is unused because the underlying logic has been removed.
33 lines
822 B
Nix
33 lines
822 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
options.mobile.boot = {
|
|
stage-1.extraUtils = mkOption {
|
|
type = types.listOf (types.either types.attrs types.package);
|
|
description = ''
|
|
Additional packages to be included inside stage-1.
|
|
|
|
Do note that *special manipulation* happens and may
|
|
not be compatible with everything.
|
|
|
|
The format for extra commands is:
|
|
`{ package = _package_; extraCommand = _extraCommand_ }`
|
|
|
|
Where extraCommand is executed at build time, generally
|
|
to fix the package for stage-1 use.
|
|
'';
|
|
};
|
|
stage-1.contents = mkOption {
|
|
type = types.listOf types.attrs;
|
|
default = [];
|
|
description = ''
|
|
Additional files for the initrd.
|
|
|
|
See `makeInitrd` for use of `contents`.
|
|
'';
|
|
};
|
|
};
|
|
}
|