From f1ebbc73395e733e222b7f51e3fb554579ec1916 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 24 Jul 2015 17:34:08 +0200 Subject: autoimport 3*/{krebs,$(LOGNAME)} --- default.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 default.nix (limited to 'default.nix') diff --git a/default.nix b/default.nix new file mode 100644 index 000000000..2deb7539a --- /dev/null +++ b/default.nix @@ -0,0 +1,20 @@ +{ user-name, system-name }: + +let + + eval = import { + 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; +} -- cgit v1.2.3 From 3ddc26515aa21295f89bf1c9839a18427f9f61e7 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 25 Jul 2015 18:16:51 +0200 Subject: default.nix: retab --- default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index 2deb7539a..49e889924 100644 --- a/default.nix +++ b/default.nix @@ -2,19 +2,19 @@ let - eval = import { + eval = import { system = builtins.currentSystem; - modules = [ + modules = [ (./1systems + "/${user-name}/${system-name}.nix") - (./3modules/krebs) - (./3modules + "/${user-name}") - ]; - }; + (./3modules/krebs) + (./3modules + "/${user-name}") + ]; + }; in { - inherit (eval) config options; + inherit (eval) config options; - system = eval.config.system.build.toplevel; + system = eval.config.system.build.toplevel; } -- cgit v1.2.3