# Service metadata
option('version',
    type: 'string',
    value: '',
    description: 'Version of the module. If empty, 66 uses its own version.')

# Installation directories
option('shebangdir',
    type: 'string',
    value: '/usr/bin',
    description: 'Absolute path for #! script invocations (BINDIR)')

option('livedir',
    type: 'string',
    value: '/run/66',
    description: '66 default live directory')

option('skeleton-dir',
    type: 'string',
    value: '/etc/66',
    description: '66 skeleton files directory')

option('system-service-dir',
    type: 'string',
    value: '/usr/share/66/service',
    description: 'System service frontend directory')

option('system-script-dir',
    type: 'string',
    value: '/usr/share/66/script',
    description: 'System script directory')

option('system-seed-dir',
    type: 'string',
    value: '/usr/share/66/seed',
    description: 'System trees default configuration directory')

option('sysadmin-service-conf-dir',
    type: 'string',
    value: '/etc/66/conf',
    description: 'Sysadmin service configuration directory')

option('tmpfiles-path',
    type: 'string',
    value: '/usr/bin',
    description: 'Absolute path of the opentmpfiles script directory')

option('modules-path',
    type: 'string',
    value: '/usr/bin',
    description: 'Absolute path of the modules.sh script directory')

option('with-doc',
    type: 'boolean',
    value: false,
    description: 'Build and install documentation as manpage and html (requires lowdown)')

option('doc-dir',
    type: 'string',
    value: '/usr/share/doc',
    description: 'Base directory for html documentation')

option('man-dir',
    type: 'string',
    value: '/usr/share/man',
    description: 'Base directory for manpage documentation')

# Boot configuration defaults baked into the boot@ module.
# A leading '!' unexports the variable from the environment after use.
# An empty value comments the key out in the generated boot@ file.
option('hostname',
    type: 'string', value: 'obarunS6',
    description: 'System hostname')
option('hardwareclock',
    type: 'string', value: 'UTC',
    description: 'Hardware clock [UTC|localtime]')
option('tz',
    type: 'string', value: 'GMT',
    description: 'System timezone')
option('setupconsole',
    type: 'string', value: '!yes',
    description: 'Configure the console [yes|no]')
option('tty',
    type: 'string', value: '!2',
    description: 'Number of tty to start (0-11, 0 for none)')
option('keymap',
    type: 'string', value: '!us',
    description: 'Console keymap')
option('font',
    type: 'string', value: '!lat9w-16',
    description: 'Console font')
option('font-map',
    type: 'string', value: '',
    description: 'Console map')
option('font-unimap',
    type: 'string', value: '',
    description: 'Console unimap')
option('udev',
    type: 'string', value: '!yes',
    description: 'Use udev [yes|no]')
option('sysctl',
    type: 'string', value: '!yes',
    description: 'Configure kernel runtime with sysctl [yes|no]')
option('forcechck',
    type: 'string', value: '!no',
    description: 'Force a check of the filesystem [yes|no]')
option('local',
    type: 'string', value: '!no',
    description: 'Use rc.local scripts [yes|no]')
option('tmpfile',
    type: 'string', value: '!yes',
    description: 'Apply tmpfiles.d configuration [yes|no]')
option('module-kernel',
    type: 'string', value: '!yes',
    description: 'Load kernel modules [yes|no]')
option('module-system',
    type: 'string', value: '!yes',
    description: 'Load modules from modules.d files [yes|no]')
option('randomseed',
    type: 'string', value: '!yes',
    description: 'Populate the random seed [yes|no]')
option('fstab',
    type: 'string', value: '!yes',
    description: 'Mount devices from fstab [yes|no]')
option('swap',
    type: 'string', value: '!no',
    description: 'Mount swap [yes|no]')
option('lvm',
    type: 'string', value: '!no',
    description: 'Mount lvm devices [yes|no]')
option('dmraid',
    type: 'string', value: '!no',
    description: 'Mount dmraid devices [yes|no]')
option('mdraid',
    type: 'string', value: '!no',
    description: 'Mount mdraid devices [yes|no]')
option('btrfs',
    type: 'string', value: '!no',
    description: 'Mount btrfs devices [yes|no]')
option('zfs',
    type: 'string', value: '!no',
    description: 'Mount zfs devices [yes|no]')
option('zfs-import',
    type: 'string', value: '!zpoolcache',
    description: 'Zfs pool import method [scan|zpoolcache]')
option('crypttab',
    type: 'string', value: '!no',
    description: 'Use crypttab by default [yes|no]')
option('firewall',
    type: 'string', value: '',
    description: 'Firewall program [iptables|ip6tables|nftables|ebtables|arptables]')
option('cgroups',
    type: 'string', value: '!yes',
    description: 'Mount cgroups [yes|no]')
option('mnt-proc',
    type: 'string', value: '!yes',
    description: 'Mount /proc [yes|no]')
option('mnt-sys',
    type: 'string', value: '!yes',
    description: 'Mount /sys [yes|no]')
option('mnt-dev',
    type: 'string', value: '!yes',
    description: 'Mount /dev [yes|no]')
option('mnt-run',
    type: 'string', value: '!yes',
    description: 'Mount /run [yes|no]')
option('mnt-tmp',
    type: 'string', value: '!yes',
    description: 'Mount /tmp [yes|no]')
option('mnt-pts',
    type: 'string', value: '!yes',
    description: 'Mount /dev/pts [yes|no]')
option('mnt-shm',
    type: 'string', value: '!yes',
    description: 'Mount /dev/shm [yes|no]')
option('mnt-netfs',
    type: 'string', value: '!yes',
    description: 'Mount no-network filesystems [yes|no]')
option('populate-sys',
    type: 'string', value: '!yes',
    description: 'Populate the /sys directory [yes|no]')
option('populate-dev',
    type: 'string', value: '!yes',
    description: 'Populate the /dev directory [yes|no]')
option('populate-run',
    type: 'string', value: '!yes',
    description: 'Populate the /run directory [yes|no]')
option('populate-tmp',
    type: 'string', value: '!yes',
    description: 'Populate the /tmp directory [yes|no]')
option('check-configuration',
    type: 'string', value: '!yes',
    description: 'Enable configuration checks on enable [yes|no]')
