Skip to content

SlayerOS Configuration

This section covers the various configuration options available in SlayerOS. Understanding these options is essential for customizing the operating system to your specific needs.

Configuration Overview

SlayerOS can be configured at several levels:

  1. Kernel Configuration: Core kernel settings that affect behavior, features, and performance
  2. Build Options: Compiler flags, optimization levels, and debug settings
  3. Hardware Support: Configuration for specific hardware devices and platforms

Configuration Files

SlayerOS uses several configuration files:

  • misc/boot/limine.conf: Bootloader configuration
  • misc/make/base.mk: Base build settings
  • Makefile: Main build configuration
  • src/include/host/flags.h: Kernel feature flags

Configuration Methods

You can configure SlayerOS in several ways:

  1. Build-time configuration: Set options when building the kernel
  2. Compile-time flags: Enable/disable features via preprocessor definitions
  3. Boot-time parameters: Pass parameters via the bootloader

Best Practices

When configuring SlayerOS:

  1. Start with the default configuration for stability
  2. Make incremental changes and test after each change
  3. Document any custom configurations you create
  4. Use version control to track configuration changes

The following sections provide detailed information about each configuration area.

SlayerOS