nix/home/home.nix

78 lines
1.1 KiB
Nix
Raw Normal View History

2021-10-07 18:36:34 +02:00
{pkgs, ...}:
{
imports = [
./desktop.nix
./sway.nix
];
home.sessionVariables = {
EDITOR = "nvim";
};
home.packages = with pkgs; [
python3
killall
htop
mosh
git
git-lfs
tig
2021-10-08 20:45:17 +02:00
tea
glab
2021-10-07 18:36:34 +02:00
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
pass
2021-10-08 13:53:08 +02:00
glow
2021-10-07 18:36:34 +02:00
];
programs.zsh = {
enable = true;
enableAutosuggestions = true;
2021-10-07 22:32:21 +02:00
# broken: enableSyntaxHighlighting = true;
2021-10-07 18:36:34 +02:00
# 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;
2021-10-07 22:32:21 +02:00
extraConfig = ''
syntax on
2021-10-09 01:41:14 +02:00
set number relativenumber
2021-10-07 22:32:21 +02:00
'';
plugins = with pkgs.vimPlugins; [
2021-10-07 18:36:34 +02:00
nvim-lspconfig
2021-10-07 19:02:57 +02:00
airline
Syntastic
2021-10-07 22:32:21 +02:00
{
plugin = nerdtree;
config = "map <C-n> :NERDTreeToggle<CR>";
}
2021-10-07 18:36:34 +02:00
];
};
}