stockholm/default.nix
2015-07-28 20:40:25 +02:00

25 lines
449 B
Nix

{ user-name, system-name }:
let
lib = import 4lib/krebs {
lib = import <nixpkgs/lib>;
};
eval = import <nixpkgs/nixos/lib/eval-config.nix> {
inherit lib;
system = builtins.currentSystem;
modules = map (p: ./. + "/${p}") [
"${user-name}/1systems/${system-name}.nix"
"${user-name}/3modules"
"3modules/krebs"
];
};
in
{
inherit (eval) config options;
system = eval.config.system.build.toplevel;
}