nix/home/default.nix

73 lines
1.1 KiB
Nix
Raw Permalink Normal View History

2021-10-09 01:46:55 +02:00
{pkgs, ...}:
{
home.sessionVariables = {
EDITOR = "nvim";
};
home.packages = with pkgs; [
python3
killall
htop
mosh
git
git-lfs
tig
tea
glab
figlet
grml-zsh-config
tmux
#neovim
xh
liboping # fix it
mtr
colordiff
git-annex
direnv
pure-prompt
#vimPlugins.nvim-lspconfig
#vimPlugins.nerdtree
go gcc libcap
go-langserver
2021-10-09 18:07:16 +02:00
pass-wayland
2021-10-09 01:46:55 +02:00
glow
];
programs.zsh = {
enable = true;
enableAutosuggestions = true;
# broken: enableSyntaxHighlighting = true;
# grml and pure enabled ....
};
programs.git = {
enable = true;
userName= "genofire";
userEmail = "geno+dev@fireorbit.de";
signing = {
signByDefault = false;
key = "386ED1BF848ABB4A6B4A3C45FC83907C125BC2BC";
};
extraConfig = {
init.defaultBranch = "main";
annex.sshcaching = true;
};
};
programs.neovim = {
enable = true;
extraConfig = ''
syntax on
set number relativenumber
'';
plugins = with pkgs.vimPlugins; [
nvim-lspconfig
airline
Syntastic
{
plugin = nerdtree;
config = "map <C-n> :NERDTreeToggle<CR>";
}
];
};
}