Export a function for building NixOS system configurations

This commit is contained in:
Eelco Dolstra 2019-03-26 14:37:43 +01:00
parent 123dea9b0d
commit 57ccd736bb

View file

@ -8,7 +8,9 @@
provides = flakes:
let pkgs = import ./. { system = "x86_64-linux"; }; in
{
lib = import ./lib;
lib = (import ./lib) // {
nixosSystem = import ./nixos/lib/eval-config.nix;
};
builders = {
inherit (pkgs) stdenv fetchurl;