blob: 0ee1c3d05e964b3064ab0f7b4f55760d565e5ab5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ 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;
}
|