nix-system/terminal-software.nix
2024-06-10 12:45:58 +02:00

63 lines
1.2 KiB
Nix

{ lib, config, pkgs, ... }: {
home.packages = with pkgs; [
entr
trash-cli
nix-output-monitor
unzip
gnumake
pandoc
htop
ffmpeg
wget
dtrx
];
programs.neovim = {
enable = true;
viAlias = true;
defaultEditor = true;
extraPackages = with pkgs; [
nodejs_22
gcc
ocamlPackages.lsp
ocamlPackages.ocamlformat
cargo
nixd
nixpkgs-fmt
lua-language-server
ocaml
ocamlPackages.ocaml-lsp
pyright
];
};
programs.tmux = {
enable = true;
historyLimit = 600000;
escapeTime = 10;
keyMode = "vi";
mouse = true;
extraConfig = ''
unbind-key 'Space'
bind-key 'Space' copy-mode
set -g status-right "#{net_speed} #{cpu_percentage}"
run-shell ${pkgs.tmuxPlugins.net-speed}/share/tmux-plugins/net-speed/net_speed.tmux
run-shell ${pkgs.tmuxPlugins.cpu}/share/tmux-plugins/cpu/cpu.tmux
'';
plugins = with pkgs.tmuxPlugins; [ net-speed ];
};
programs.git = {
enable = true;
userName = config.home.username;
userEmail = "${config.home.username}@domain.xyz";
};
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
programs.pistol.enable = true;
}