Skip to main content

Module interfaces

Module interfaces 

Source
Expand description

§Flake Data Structures

This module defines the core data types used to represent flake configuration elements throughout the flk codebase.

§Modules

  • profiles - Profile, Package, EnvVar, and FlakeConfig types
  • overlays - Pinned package and overlay configuration types
  • shellhooks - Custom command/shell hook types
  • utils - Shared constants (indentation levels)

§Type Hierarchy

FlakeConfig
├── inputs: Vec<String>
└── profiles: Vec<Profile>
    ├── name: String
    ├── packages: Vec<Package>
    ├── env_vars: Vec<EnvVar>
    └── shell_hook: ShellHookSection
        └── entries: Vec<ShellHookEntry>

Modules§

overlays
Overlay and Package Pinning Types
profiles
Profile Data Types
shellhooks
Shell Hook Types
utils
Interface Constants