stockholm/default.nix

21 lines
367 B
Nix
Raw Normal View History

2015-07-24 15:34:08 +00:00
{ user-name, system-name }:
let
2015-07-25 16:16:51 +00:00
eval = import <nixpkgs/nixos/lib/eval-config.nix> {
2015-07-24 15:34:08 +00:00
system = builtins.currentSystem;
modules = map (p: ./. + "/${p}") [
2015-07-28 18:40:25 +00:00
"${user-name}/1systems/${system-name}.nix"
"${user-name}/3modules"
2015-07-28 19:38:22 +00:00
"krebs/3modules"
2015-07-25 16:16:51 +00:00
];
};
2015-07-24 15:34:08 +00:00
in
{
2015-07-25 16:16:51 +00:00
inherit (eval) config options;
2015-07-24 15:34:08 +00:00
2015-07-25 16:16:51 +00:00
system = eval.config.system.build.toplevel;
2015-07-24 15:34:08 +00:00
}