stockholm/default.nix

21 lines
360 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;
2015-07-25 16:16:51 +00:00
modules = [
2015-07-24 15:34:08 +00:00
(./1systems + "/${user-name}/${system-name}.nix")
2015-07-25 16:16:51 +00:00
(./3modules/krebs)
(./3modules + "/${user-name}")
];
};
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
}