about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2022-07-05 14:40:57 +0200
committerBaitinq <[email protected]>2022-07-05 14:40:57 +0200
commit64ce6bba55d3b5b75b37f21f83a0a03b2a413ab3 (patch)
tree6242e99b0f120deb507bd6216501fa7c5d83549e
parentSwitch windowmanager to xmonad (diff)
downloadnixos-config-64ce6bba55d3b5b75b37f21f83a0a03b2a413ab3.tar.gz
nixos-config-64ce6bba55d3b5b75b37f21f83a0a03b2a413ab3.tar.bz2
nixos-config-64ce6bba55d3b5b75b37f21f83a0a03b2a413ab3.zip
Let home-manager manage bash
This lets us pass the ENV variables to bash
-rw-r--r--hosts/home.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/hosts/home.nix b/hosts/home.nix
index 568f426..c32d02f 100644
--- a/hosts/home.nix
+++ b/hosts/home.nix
@@ -100,6 +100,12 @@ in
 
     obs-studio = { enable = true; };
 
+    bash = {
+      enable = true;
+      bashrcExtra = builtins.readFile (dotfiles + "/.bashrc");
+      profileExtra = builtins.readFile (dotfiles + "/.bash_profile");
+    };
+
     zsh = {
       enable = true;
       zplug = {
@@ -187,10 +193,8 @@ in
   };
 
   home.file = {
-    ".bash_profile".source = dotfiles + "/.bash_profile";
     ".xinitrc".source = dotfiles + "/.xinitrc";
     ".Xresources".source = dotfiles + "//.Xresources/";
-    ".bashrc".source = dotfiles + "/.bashrc";
 
     ".scripts/".source = dotfiles + "/scripts/";
   };