use https://github.com/nix-community/nix-direnv - lorri looks not that well maintained
This commit is contained in:
parent
5ac957d008
commit
3d51d5839c
13
common.nix
13
common.nix
|
@ -176,8 +176,11 @@ in
|
||||||
cores = 4;
|
cores = 4;
|
||||||
};
|
};
|
||||||
|
|
||||||
# we want some experimental features like nix search
|
# https://github.com/nix-community/nix-direnv
|
||||||
extraOptions = ''experimental-features = nix-command flakes'';
|
extraOptions = ''
|
||||||
|
keep-outputs = true
|
||||||
|
keep-derivations = true
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
# avoid suspend ever to be triggered
|
# avoid suspend ever to be triggered
|
||||||
|
@ -436,11 +439,9 @@ in
|
||||||
xorg.xhost
|
xorg.xhost
|
||||||
];
|
];
|
||||||
|
|
||||||
# enable direnv integration
|
# https://github.com/nix-community/nix-direnv
|
||||||
programs.direnv.enable = true;
|
programs.direnv.enable = true;
|
||||||
|
programs.direnv.nix-direnv.enable = true;
|
||||||
# nix-shell on drugs
|
|
||||||
services.lorri.enable = true;
|
|
||||||
|
|
||||||
# generate the shell config
|
# generate the shell config
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
|
|
Loading…
Reference in a new issue