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"
|
|
"krebs/3modules"
|
|
];
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
inherit (eval) config options;
|
|
|
|
system = eval.config.system.build.toplevel;
|
|
}
|