about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-07-05 14:40:57 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-07-05 14:40:57 +0200
commitc53ada411a32ef258d73ffdf9730e5645ee82a3e (patch)
tree9d4b7e62367408cb2a71dde3cb2182e2e9e801de /hosts
parentSwitch windowmanager to xmonad (diff)
downloadnixos-config-c53ada411a32ef258d73ffdf9730e5645ee82a3e.tar.gz
nixos-config-c53ada411a32ef258d73ffdf9730e5645ee82a3e.tar.bz2
nixos-config-c53ada411a32ef258d73ffdf9730e5645ee82a3e.zip
Let home-manager manage bash
This lets us pass the ENV variables to bash
Diffstat (limited to 'hosts')
-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/";
   };