Files
nix-dotfiles/home/programs/bash.nix
2025-06-04 12:01:57 +02:00

19 lines
341 B
Nix

{ config, lib, ... }:
let
cfg = config.programs.bash;
in
{
programs.bash = {
historyFile = "${config.xdg.dataHome}/bash_history";
historySize = 100000;
bashrcExtra = ''
source "${config.xdg.configHome}/mutable_env.sh"
'';
shellOptions = [
"histappend"
"checkwinsize"
"checkjobs"
];
};
}