diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-08-13 03:21:43 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-08-13 03:21:43 +0200 |
commit | cf938167abf99d92291a9679a6ca98296c2b7525 (patch) | |
tree | 64e80f2482d8527eba0ec6763fe5bce213196321 | |
parent | 2d73da02d8cee915c62d69d55ba6850d94258602 (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>
-rw-r--r-- | modules/module-list.nix | 1 | ||||
-rw-r--r-- | modules/system/iso.nix | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/modules/module-list.nix b/modules/module-list.nix index 0608c1b5..08d14af5 100644 --- a/modules/module-list.nix +++ b/modules/module-list.nix @@ -2,6 +2,7 @@ ./profiles/common.nix ./services/multipath-vpn.nix ./services/postfix + ./system/iso.nix ./user/aszlig/profiles/base.nix ./user/aszlig/profiles/workstation ./user/aszlig/programs/gajim 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. + ''; + }; +} |