nix/module/common/Bash.nix
2024-03-04 03:04:57 +03:00

8 lines
330 B
Nix

{ 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";
}