about summary refs log tree commit diff
path: root/modules/system
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-08-13 03:21:43 +0200
committeraszlig <aszlig@redmoonstudios.org>2015-08-13 03:21:43 +0200
commitcf938167abf99d92291a9679a6ca98296c2b7525 (patch)
tree64e80f2482d8527eba0ec6763fe5bce213196321 /modules/system
parent2d73da02d8cee915c62d69d55ba6850d94258602 (diff)
modules/system: Add an option to build an ISO.
Building ISO images for all machines really doesn't make sense if we
only have _one_ machine at the moment, where we really use it (kzerza).

So we now have an option which can be defined for a particular machine
configuration, which is then going te be excempted from the ISO building
process.

The latter isn't yet implemented however, only the option is here right
now.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/iso.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/system/iso.nix b/modules/system/iso.nix
new file mode 100644
index 00000000..893a56e9
--- /dev/null
+++ b/modules/system/iso.nix
@@ -0,0 +1,12 @@
+{ lib, ... }:
+
+{
+  options.vuizvui.createISO = lib.mkOption {
+    default = false;
+    example = true;
+    type = lib.types.bool;
+    description = ''
+      Whether to build an ISO image out of this machine configuration on Hydra.
+    '';
+  };
+}