1 parent
80ec3dfdd3
commit
079cceb554
57 files changed
+4092
-538
No files matched your search
@@ -0,0 +1,17 @@
|
||||
# The `dev` command (pkgs/dev-shell) for the owner: enter, combine and
|
||||
# auto-activate (direnv) the dev shells of this flake (modules/dev/shells,
|
||||
# mechanism in modules/flake/shells.nix). It finds the flake through NH_FLAKE
|
||||
# (programs.nh.flake, modules/core/nix.nix). Inside a shell the prompt shows
|
||||
# dev:<name> (DEV_SHELL, set by every shell).
|
||||
{
|
||||
flake.modules.homeManager.dev-shells =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [ pkgs.dev-shell ];
|
||||
|
||||
programs.starship.settings.env_var.DEV_SHELL = {
|
||||
format = "[dev:$env_value]($style) ";
|
||||
style = "bold purple";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user