/** * Server Mode Addon * * Configures machines as deployment servers by: * - Disabling sleep/suspend * - Enabling SSH * - Configuring auto-login * - Setting up firewall rules * - Other server hardening * * This addon provides OS-specific fixes that transform a regular machine * into a suitable deployment target. Each OS has its own scanfix file * with relevant fixes. * * ============================================================ * USAGE * ============================================================ * * Enable in stack.yml: * * staging: * domain: 192.168.1.100 * server: mac * server_mode: true # Enable server hardening * * Or disable (server_mode is true by default for staging/prod): * * staging: * domain: 192.168.1.100 * server: mac * server_mode: false # Skip server hardening * ============================================================ */ import type { FactiiiConfig, Fix, ServerOS } from '../../../types/index.js'; declare class ServerModeAddon { static readonly id = "server-mode"; static readonly name = "Server Mode"; static readonly category: 'addon'; static readonly version = "1.0.0"; static readonly requiredEnvVars: string[]; static readonly configSchema: Record; static readonly autoConfigSchema: Record; /** * Determine if this addon should be loaded * Loads if any environment has server_mode enabled (or not explicitly disabled) */ static shouldLoad(_rootDir: string, config: FactiiiConfig): Promise; static readonly fixes: Fix[]; /** * Get fixes for a specific OS */ static getFixesForOS(os: ServerOS): Fix[]; private _config; constructor(config: FactiiiConfig); } export default ServerModeAddon; //# sourceMappingURL=index.d.ts.map