mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
add bat
options
This commit is contained in:
parent
b353909171
commit
9899935183
1 changed files with 4 additions and 1 deletions
|
@ -8,7 +8,6 @@
|
|||
sconfig.powerline.enable = lib.mkDefault true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
bat
|
||||
dnsutils
|
||||
du-dust
|
||||
entr
|
||||
|
@ -46,6 +45,10 @@
|
|||
|
||||
(writeShellScriptBin "nr" "exec nix repl \"$(nix eval nixpkgs#path)\"")
|
||||
|
||||
(writeShellScriptBin "bat" ''
|
||||
${bat}/bin/bat --color=always --wrap=never --pager=never --terminal-width=80 "$@"
|
||||
'')
|
||||
|
||||
(writeShellScriptBin "pip-install" ''
|
||||
nix run 'nixpkgs#python3.pkgs.pip' -- install --user --upgrade --break-system-packages pip
|
||||
'')
|
||||
|
|
Loading…
Reference in a new issue