nix/module/common/Bash.nix

8 lines
330 B
Nix
Raw Normal View History

{ environment, lib, ... }: {
environment.etc.bash.source = ./bash;
environment.shellAliases = lib.mkForce {};
environment.variables.BASH_MODULE_PATH = "/etc/bash/module/";
environment.variables.BASH_PATH = "/etc/bash/";
programs.bash.interactiveShellInit = "source /etc/bash/Bashrc.sh";
}