diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-07-05 14:40:57 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-07-05 14:40:57 +0200 |
commit | c53ada411a32ef258d73ffdf9730e5645ee82a3e (patch) | |
tree | 9d4b7e62367408cb2a71dde3cb2182e2e9e801de /hosts | |
parent | Switch windowmanager to xmonad (diff) | |
download | nixos-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.nix | 8 |
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/"; }; |