mirror of
https://git.adityakumar.xyz/nix-conf.git
synced 2024-11-24 21:02:52 +00:00
add direnv and direnv hooks
This commit is contained in:
parent
6755f9e15c
commit
5259cdcf82
1 changed files with 6 additions and 1 deletions
7
home.nix
7
home.nix
|
@ -58,7 +58,7 @@
|
||||||
nextcloud-client duf neovim foliate mpv obsidian dino aria2 bitwarden kitty-themes p7zip
|
nextcloud-client duf neovim foliate mpv obsidian dino aria2 bitwarden kitty-themes p7zip
|
||||||
tdesktop libreoffice-fresh jetbrains-mono yakuake krita filelight inkscape yt-dlp ranger
|
tdesktop libreoffice-fresh jetbrains-mono yakuake krita filelight inkscape yt-dlp ranger
|
||||||
libsForQt5.kwallet libsForQt5.kwallet-pam libsForQt5.kwalletmanager libsForQt5.ksshaskpass
|
libsForQt5.kwallet libsForQt5.kwallet-pam libsForQt5.kwalletmanager libsForQt5.ksshaskpass
|
||||||
cachix
|
cachix direnv
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.config.permittedInsecurePackages = [
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
|
@ -69,6 +69,7 @@
|
||||||
enable = false;
|
enable = false;
|
||||||
bashrcExtra = ''
|
bashrcExtra = ''
|
||||||
. ~/.bashrc
|
. ~/.bashrc
|
||||||
|
eval "$(direnv hook bash)"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -77,11 +78,15 @@
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
enableAutosuggestions = true;
|
enableAutosuggestions = true;
|
||||||
enableSyntaxHighlighting = true;
|
enableSyntaxHighlighting = true;
|
||||||
|
# enableBashCompletion = true;
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "ys";
|
theme = "ys";
|
||||||
plugins = ["git" "colored-man-pages" "extract" "sudo"];
|
plugins = ["git" "colored-man-pages" "extract" "sudo"];
|
||||||
};
|
};
|
||||||
|
initExtra = ''
|
||||||
|
eval "$(direnv hook zsh)"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
|
|
Loading…
Reference in a new issue