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.

nova.nix 603B

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 = "nova-";
  12. supportedSystems = [ "x86_64-genode" ];
  13. basePackages = with pkgs.genodePackages; [ base-nova rtc_drv ];
  14. };
  15. genode.boot = {
  16. initrd =
  17. "'${pkgs.genodePackages.NOVA}/hypervisor-x86_64 arg=iommu novpid serial,${config.genode.boot.image}/image.elf'";
  18. image =
  19. utils.novaImage config.system.name { } config.genode.boot.configFile;
  20. };
  21. }