2
0
Fork 0
genodepkgs/nixos-modules/default.nix

27 lines
433 B
Nix
Raw Normal View History

2020-12-10 20:23:53 +01:00
{ flake }:
let
2020-12-21 12:28:33 +01:00
baseModules = [
./genode-core.nix
./genode-init.nix
./guest-vbox-linux.nix
./gui
./hardware.nix
./systemd.nix
];
2020-12-10 20:23:53 +01:00
in {
x86_64 = {
2020-12-21 12:28:33 +01:00
imports = baseModules;
2020-12-10 20:23:53 +01:00
nixpkgs = rec {
localSystem = "x86_64-linux";
crossSystem = "x86_64-genode";
system = localSystem + "-" + crossSystem;
pkgs = flake.legacyPackages.${system};
};
};
nova = import ./nova.nix;
}