diff options
Diffstat (limited to 'nix-conf')
-rw-r--r-- | nix-conf/home/includes/common.nix | 22 | ||||
-rw-r--r-- | nix-conf/home/includes/zsh.nix | 1 |
2 files changed, 17 insertions, 6 deletions
diff --git a/nix-conf/home/includes/common.nix b/nix-conf/home/includes/common.nix index 6944636..6e77bfa 100644 --- a/nix-conf/home/includes/common.nix +++ b/nix-conf/home/includes/common.nix @@ -22,12 +22,6 @@ in aspellDicts.en aspellDicts.en-computers aspellDicts.en-science - bat - bat-extras.batdiff - bat-extras.batgrep - bat-extras.batman - bat-extras.batwatch - bat-extras.batpipe bottom broot curl @@ -76,6 +70,22 @@ in unstable.wcurl ]; + programs.bat = { + enable = true; + extraPackages = with pkgs.bat-extras; [ + batdiff + batgrep + batman + batwatch + batpipe + ]; + config = { + style = "full"; + pager = "less -RXF"; + map-syntax = [".ignore:.gitignore" "*.jenkinsfile:Groovy"]; + }; + }; + nix = { package = pkgs.nix; settings = { diff --git a/nix-conf/home/includes/zsh.nix b/nix-conf/home/includes/zsh.nix index db8cf3f..153857e 100644 --- a/nix-conf/home/includes/zsh.nix +++ b/nix-conf/home/includes/zsh.nix @@ -53,6 +53,7 @@ in mv = "mv -iv"; mkdir = "mkdir -v"; tree = "eza --tree"; + cat = "bat -p"; pp = "pushbullet push \"Pixel\" link \"\${1}\" \"\${1}\""; |