stockholm/default.nix
2015-07-28 21:38:22 +02:00

21 lines
367 B
Nix

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