Direnv
programs.direnv.direnvrcExtra
Extra lines to append to the sourced direnvrc
Type: strings concatenated with "\n"
Default
""
Example
'' export FOO="foo" echo "loaded direnv!"''
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/direnv.nix
programs.direnv.enable
Whether to enable direnv integration. Takes care of both installation and
setting up the sourcing of the shell. Additionally enables nix-direnv
integration. Note that you need to logout and login for this change to apply
.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/direnv.nix
programs.direnv.loadInNixShell
Whether to enable loading direnv in nix-shell
nix shell
or nix develop
.
Type: boolean
Default
true
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/direnv.nix
programs.direnv.nix-direnv.enable
Whether to enable a faster, persistent implementation of use_nix and use_flake, to replace the built-in one
.
Type: boolean
Default
true
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/direnv.nix
programs.direnv.nix-direnv.package
The nix-direnv package to use
Type: package
Default
"pkgs.nix-direnv"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/direnv.nix
programs.direnv.package
The direnv package to use.
Type: package
Default
pkgs.direnv
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/direnv.nix
programs.direnv.silent
Whether to enable the hiding of direnv logging
.
Type: boolean
Default
false
Example
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/direnv.nix