Enable flake development environments, equivalent to nix develop
.
To install the nix
plugin, run:
$ mise plugins install nix
In .mise.toml
, enable the nix
environment:
[env]
_.nix = true
This will automatically load the development environment from flake.nix
,
equivalent to entering the shell via nix develop
.
To use a different lock-file, set the flake_lock
option:
[env]
_.nix = { flake_lock = "some-flake.lock" }