1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 19:23:01 +03:00
mobile-nixos/default.nix
2018-06-16 23:21:41 +00:00

19 lines
360 B
Nix

# This entry points allows calling `nix-build -A` with
# anything defined in the overlay (or the host system).
{
device
}:
let
overlay = import ./overlay;
eval = import ./lib/eval-config.nix {
pkgs = overlay;
modules = [
(import (./. + "/devices/${device}" ))
];
};
in
{
inherit overlay;
inherit (eval.config.system.build) all;
}