Add nixosModules to flake
This commit is contained in:
parent
5b43976ca4
commit
e590b06b1f
|
@ -131,6 +131,10 @@
|
|||
packages = self.packages.${system};
|
||||
});
|
||||
|
||||
nixosModules =
|
||||
# Modules for composing Genode and NixOS
|
||||
import ./nixos-modules { flake = self; };
|
||||
|
||||
checks =
|
||||
# Checks for continous testing
|
||||
let tests = import ./tests;
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
{ flake }:
|
||||
|
||||
{
|
||||
|
||||
x86_64 = {
|
||||
imports = [
|
||||
./genode-core.nix
|
||||
./genode-init.nix
|
||||
./gui
|
||||
./hardware
|
||||
./qemu-vm.nix
|
||||
./systemd.nix
|
||||
];
|
||||
nixpkgs = rec {
|
||||
localSystem = "x86_64-linux";
|
||||
crossSystem = "x86_64-genode";
|
||||
system = localSystem + "-" + crossSystem;
|
||||
pkgs = flake.legacyPackages.${system};
|
||||
};
|
||||
};
|
||||
|
||||
nova = import ./nova.nix;
|
||||
|
||||
}
|
Loading…
Reference in New Issue