|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
let toDhall = lib.generators.toDhall { };
|
|
|
|
|
in {
|
|
|
|
|
imports = [ ./ahci.nix ./framebuffer.nix ./nic.nix ./usb.nix ];
|
|
|
|
|
|
|
|
|
|
options.hardware.genode.platform.policies = lib.mkOption {
|
|
|
|
@ -25,7 +25,7 @@ with lib;
|
|
|
|
|
ahciConfig = with config.hardware.genode.ahci;
|
|
|
|
|
lib.optionalString enable ''
|
|
|
|
|
, ahci_driver = Some ${
|
|
|
|
|
lib.generators.toDhall {
|
|
|
|
|
toDhall {
|
|
|
|
|
binary = ahciEris.cap;
|
|
|
|
|
atapi = atapiSupport;
|
|
|
|
|
}
|
|
|
|
@ -36,7 +36,7 @@ with lib;
|
|
|
|
|
lib.optionalString enable ''
|
|
|
|
|
, usb_block = Some { binary = "${usbEris.usb_block_drv.cap}" }
|
|
|
|
|
, usb_driver = Some ${
|
|
|
|
|
lib.generators.toDhall {
|
|
|
|
|
toDhall {
|
|
|
|
|
binary = usbEris.usb_drv.cap;
|
|
|
|
|
bios_handoff = biosHandoff;
|
|
|
|
|
ehci = ehciSupport;
|
|
|
|
|