add direnv and rpi imager

This commit is contained in:
Nathan Anderson 2024-03-17 16:39:06 -06:00
parent 87364629fa
commit e7fc91cb3e
2 changed files with 11 additions and 0 deletions

View File

@ -73,6 +73,7 @@ in
installGaming = deskCfg.installGaming; installGaming = deskCfg.installGaming;
systemPackages = with pkgs; [ systemPackages = with pkgs; [
libreoffice libreoffice
rpi-imager
]; ];
}; };

View File

@ -157,6 +157,15 @@
userName = fullName; userName = fullName;
}; };
programs = {
direnv = {
enable = true;
enableZshIntegration = true; # see note on other shells below
nix-direnv.enable = true;
};
bash.enable = true; # see note on other shells below
};
# Zsh setup # Zsh setup
programs.zsh = { programs.zsh = {
enable = true; enable = true;
@ -166,6 +175,7 @@
theme = "half-life"; theme = "half-life";
}; };
initExtra = '' initExtra = ''
eval "$(direnv hook zsh)"
alias ask="nix-shell -p python310Packages.openai --run 'python ~/source/python/chat.py'" alias ask="nix-shell -p python310Packages.openai --run 'python ~/source/python/chat.py'"
fzf_projects() { fzf_projects() {