Genode Packages collection https://git.sr.ht/~ehmry/genodepkgs/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

base-hw-pc.nix 596B

123456789101112131415161718192021222324252627
  1. { config, pkgs, lib, ... }:
  2. with lib;
  3. let
  4. localPackages = pkgs.buildPackages;
  5. utils = import ../lib {
  6. inherit (config.nixpkgs) system localSystem crossSystem;
  7. inherit pkgs;
  8. };
  9. in {
  10. genode.core = {
  11. prefix = "hw-pc-";
  12. supportedSystems = [ "x86_64-genode" ];
  13. basePackages = with pkgs.genodePackages; [ base-hw-pc rtc_drv ];
  14. };
  15. genode.boot = {
  16. initrd = "${config.genode.boot.image}/image.elf";
  17. image = utils.hwImage "0xffffffc000000000" "0x00200000"
  18. pkgs.genodePackages.base-hw-pc config.system.name { }
  19. config.genode.boot.configFile;
  20. };
  21. }