summaryrefslogtreecommitdiffstats
path: root/default.nix
blob: 2deb7539ac9c1d0eaee2ec7d4803fba41a912279 (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 = [
      (./1systems + "/${user-name}/${system-name}.nix")
			(./3modules/krebs)
			(./3modules + "/${user-name}")
		];
	};

in

{
	inherit (eval) config options;

	system = eval.config.system.build.toplevel;
}