f98248672e
This reverts commit 981664337f
21 lines
367 B
Nix
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"
|
|
"3modules/krebs"
|
|
];
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
inherit (eval) config options;
|
|
|
|
system = eval.config.system.build.toplevel;
|
|
}
|