From cf938167abf99d92291a9679a6ca98296c2b7525 Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 13 Aug 2015 03:21:43 +0200 Subject: 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 --- modules/module-list.nix | 1 + modules/system/iso.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 modules/system/iso.nix (limited to 'modules') 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. + ''; + }; +} -- cgit 1.4.1