stockholm/default.nix

21 lines
365 B
Nix

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