From e7fc91cb3e3df711e15de0fa99ec39a89012fb79 Mon Sep 17 00:00:00 2001 From: Nathan Anderson Date: Sun, 17 Mar 2024 16:39:06 -0600 Subject: [PATCH] add direnv and rpi imager --- nate/desktop-configuration.nix | 1 + nate/modules/home-manager/home.nix | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/nate/desktop-configuration.nix b/nate/desktop-configuration.nix index 413b473..9cdbf2c 100644 --- a/nate/desktop-configuration.nix +++ b/nate/desktop-configuration.nix @@ -73,6 +73,7 @@ in installGaming = deskCfg.installGaming; systemPackages = with pkgs; [ libreoffice + rpi-imager ]; }; diff --git a/nate/modules/home-manager/home.nix b/nate/modules/home-manager/home.nix index 3878d43..e52589b 100644 --- a/nate/modules/home-manager/home.nix +++ b/nate/modules/home-manager/home.nix @@ -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() {