Set up and configure devenv developer environments. Use when the user wants to create a devenv.nix, add languages, services, packages, or configure a reproducible development environment.
Use this skill when:
devenv.nix configurationInitialize a new project:
devenv init
This creates devenv.nix and devenv.yaml in the current directory.
For installation instructions, see https://devenv.sh/getting-started/.
The main configuration file. Example:
{ pkgs, ... }:
{
packages = [ pkgs.git pkgs.curl ];
languages.rust.enable = true;
services.postgres.enable = true;
processes.server.exec = "cargo run";
}
Defines inputs and imports: