about summary refs log tree commit diff
path: root/lib/call-machine.nix
Commit message (Collapse)AuthorAgeFilesLines
* lib/call-machine: Introduce .build shortcutaszlig2016-02-081-0/+1
| | | | | | | | | | | | | | | | | | | The shortcut is mainly to make things a bit easier, instead of: nix-build '<vuizvui/machines>' \ -A aszlig.tishtushi.eval.config.system.build.toplevel We can now do something like this: nix-build '<vuizvui/machines>' \ -A aszlig.tishtushi.build ... in order to get a system store path out of a machine definition. This also fixes an evaluation error in the top-level default.nix. Thanks to @Profpatsch for bringing this to my attention. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* call-machine: Don't patch iso-image.nix anymoreaszlig2016-01-291-12/+7
| | | | | | | | | This reverts commit 3bf7b0dc9d087d7c141f317456e7abdd60ceda2a. Since NixOS/nixpkgs@269f261 there is a separate "nomodeset" boot menu option, so we no longer need this workaround. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* lib/call-machine: Fix evaluation of ISO imagesaszlig2015-12-151-1/+1
| | | | | | | | | Regression introduced by 8c1b7661ae7801233df2ef5cacb07c7382d74fdd. We now have an "eval" attribute, so we shouldn't try to reference or shadow it. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* lib/call-machine: Clean up expressionaszlig2015-12-151-17/+21
| | | | | | | | | | | | | | | This gets rid of the use attribute, which is now called "config". We had the "config" attribute before but it was kinda pointless, because it was just the import of the path and nothing else. So the config attribute now is the machine configuration with all of the vuizvui modules imported as well. The "build" attribute is now called "eval", which is more appropriate, because it's the evaluation of the configuration and not the finished system build. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* machines: Move callMachine function to lib/.aszlig2015-12-101-0/+65
The function is gettin rather large, so it makes sense to move it into another file so that the default.nix in machines/ won't be cluttered up with all the implementation-specific details. Signed-off-by: aszlig <aszlig@redmoonstudios.org>