home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

bash.nix (387B)


      1 { config, lib, pkgs, ... }:
      2 let
      3   shellConfig = import ./shell.nix { inherit config lib pkgs; };
      4 in
      5 {
      6   programs.bash = {
      7     enable = true;
      8     historyControl = [ "erasedups" "ignorespace" ];
      9     historyFile = "${config.xdg.dataHome}/bash_history";
     10     historyFileSize = shellConfig.historySize;
     11     historySize = shellConfig.historySize;
     12     shellAliases = shellConfig.aliases;
     13   };
     14 }