Recipes for Cachix devenv.
Add nixpkgs-unstable, landure/devenv-go-tasks,
and devenv-recipes inputs to devenv.yaml:
# devenv.yaml
inputs:
…
nixpkgs-unstable:
url: github:nixos/nixpkgs/nixpkgs-unstable
treefmt-nix:
url: github:numtide/treefmt-nix
inputs:
nixpkgs:
follows: nixpkgs
go-task:
url: github:biapy/devenv-go-task?dir=modules/go-task
flake: false
biapy-recipes:
url: github:biapy/devenv-recipes?dir=src
flake: false
imports:
- go-task
- biapy-recipesUpdate devenv.lock:
devenv updateEnable the wished recipes in devenv.nix, here for a Nix project:
# devenv.nix
{inputs, ...}: {
biapy.go-task.enable = true;
biapy-recipes = {
git.enable = true;
nix.enable = true;
markdown.enable = true;
shell.enable = true;
secrets.gitleaks.enable = true;
};
# …
}Distributed under the MIT License. See LICENSE for more information.