// Gaming Rig Profile
// Optimized for gaming performance with full graphics stack

profile "gaming-rig" {
    description "High-performance gaming configuration with full graphics support"

    domains {
        // Fast init
        init "dinit"

        // Full runtime with Steam support
        runtime "glibc" "steam" "wine"

        // Full graphics stack
        graphics "wayland" "vulkan" "opengl" "mesa" "amd" "nvidia" "intel"

        // High-quality audio
        audio "pipewire" "alsa"

        // Balanced security (not too restrictive for games)
        security "pie"

        // Maximum performance optimization
        optimization "lto" "pgo" "march-native"

        // Gaming integrations
        integration "nipcells"

        // Low-latency networking
        network "ipv6"

        // Minimal developer tools
        developer "none"
    }

    compiler {
        // Optimize for maximum performance
        CFLAGS "-O3 -march=native -flto -fomit-frame-pointer -pipe"
        CXXFLAGS "-O3 -march=native -flto -fomit-frame-pointer -pipe"
        LDFLAGS "-Wl,-O1 -Wl,--as-needed -flto"
        MAKEFLAGS "-j16"
        RUSTFLAGS "-C opt-level=3 -C target-cpu=native -C lto=fat"
    }
}
