2019-06-30 15:18:38 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
programs = {
|
|
|
|
home-manager.enable = true;
|
2019-06-30 15:58:23 +01:00
|
|
|
zsh = {
|
|
|
|
enable = true;
|
2019-06-30 16:29:48 +01:00
|
|
|
history = {
|
|
|
|
size = 102400;
|
|
|
|
save = 102400;
|
|
|
|
ignoreDups = true;
|
|
|
|
expireDuplicatesFirst = true;
|
|
|
|
extended = true;
|
|
|
|
share = true;
|
|
|
|
};
|
|
|
|
enableAutosuggestions = true;
|
|
|
|
enableCompletion = true;
|
2019-06-30 16:47:38 +01:00
|
|
|
plugins = [
|
|
|
|
{
|
|
|
|
name = "spaceship";
|
|
|
|
file = "spaceship.zsh";
|
|
|
|
src = pkgs.fetchgit {
|
|
|
|
url = "https://github.com/denysdovhan/spaceship-prompt";
|
|
|
|
rev = "v3.11.1";
|
|
|
|
sha256 = "0habry3r6wfbd9xbhw10qfdar3h5chjffr5pib4bx7j4iqcl8lw8";
|
|
|
|
};
|
|
|
|
}];
|
|
|
|
profileExtra = ''
|
|
|
|
source $HOME/.setenv.sh
|
|
|
|
'';
|
|
|
|
sessionVariables = { TERM="xterm-256color"; EDITOR="vim"; VISUAL="vim"; PAGER="less"; };
|
2019-06-30 16:29:48 +01:00
|
|
|
shellAliases = { tmate = "tmux detach-client -E 'tmate;tmux'"; };
|
2019-06-30 15:58:23 +01:00
|
|
|
};
|
2019-06-30 15:18:38 +01:00
|
|
|
firefox.enable = true;
|
|
|
|
chromium.enable = true;
|
|
|
|
alacritty.enable = true;
|
|
|
|
go.enable = true;
|
2019-06-30 15:58:23 +01:00
|
|
|
bat.enable = true;
|
2019-06-30 15:18:38 +01:00
|
|
|
};
|
|
|
|
}
|