Skip to main content

Crate flk

Crate flk 

Source
Expand description

§flk

Library behind the flk CLI.

ⓘ
use flk::flake::parsers::flake::parse_flake;
use flk::flake::generator::generate_flake;

let config = parse_flake("flake.nix")?;
let rust_profile = generate_flake("rust")?;

Modules§

devbox
Reads a Devbox devbox.json file and normalizes it into the handful of concepts flk understands: packages (optionally version-pinned), environment variables, custom commands, and a shell hook snippet.
flake
Generating, parsing and editing flake files and the .flk/ configuration.
utils
Backups, the spinner and terminal output helpers.