File tree 3 files changed +16
-14
lines changed
users/refnode/common/core
3 files changed +16
-14
lines changed Original file line number Diff line number Diff line change 6
6
} : {
7
7
imports = [
8
8
./zsh
9
+ ./direnv.nix
9
10
] ;
10
11
home . username = "refnode" ;
11
12
home . homeDirectory = pkgs . lib . mkForce "/Users/refnode" ;
Original file line number Diff line number Diff line change
1
+ {
2
+ # https://direnv.net/man/direnv.toml.1.html
3
+ programs . direnv = {
4
+ enable = true ;
5
+ enableZshIntegration = true ;
6
+ nix-direnv . enable = true ;
7
+ config = {
8
+ whitelist = {
9
+ prefix = [
10
+ "~/src/github.com/refnode/nixcfg"
11
+ ] ;
12
+ } ;
13
+ } ;
14
+ } ;
15
+ }
Original file line number Diff line number Diff line change 32
32
initExtra = builtins . readFile ./zsh.sh ;
33
33
} ;
34
34
35
- # https://direnv.net/man/direnv.toml.1.html
36
- programs . direnv = {
37
- enable = true ;
38
- enableZshIntegration = true ;
39
- nix-direnv . enable = true ;
40
- config = {
41
- whitelist = {
42
- prefix = [
43
- "~/src/github.com/refnode/nixcfg.git"
44
- ] ;
45
- } ;
46
- } ;
47
- } ;
48
-
49
35
# enable the fzf zsh integration by default history, file and directory
50
36
# fuzzy searches are available on zsh vi insert mode. As I prefer to
51
37
# use fzf in vi cmd mode, I normally don't need the keymaps provided,
You can’t perform that action at this time.
0 commit comments