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;
systemPackages = with pkgs; [
libreoffice
rpi-imager
];
};

View File

@ -157,6 +157,15 @@
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
programs.zsh = {
enable = true;
@ -166,6 +175,7 @@
theme = "half-life";
};
initExtra = ''
eval "$(direnv hook zsh)"
alias ask="nix-shell -p python310Packages.openai --run 'python ~/source/python/chat.py'"
fzf_projects() {