nixconfigs/home/overlays.nix

37 lines
1.1 KiB
Nix
Raw Normal View History

2018-12-03 01:31:29 +01:00
[(self: super:
{
amarok = super.libsForQt5.callPackage ./ov/amarok.nix {};
2019-08-21 23:45:09 +02:00
#stapler = super.python2.callPackage ./ov/stapler.nix {};
2019-05-08 14:08:48 +02:00
#tor-browser-bundle-bin = super.callPackage ./ov/tor-browser-bundle-bin.nix { inherit (super.gnome3) defaultIconTheme; };
2019-08-21 23:45:09 +02:00
myVim = with super; (vim_configurable.override {python = python3;}).customize {
# executable/ package name
name = "vim";
vimrcConfig.packages.myVimPackage = with pkgs.vimPlugins; {
# loaded on start
start = [
ale
ctrlp
#deoplete-jedi
direnv-vim
fugitive
jedi-vim
nerdtree
nerdtree-git-plugin
supertab
vim-pandoc
vim-pandoc-syntax
vim-nix
vim-jinja
];
};
vimrcConfig.customRC =
''if filereadable($HOME . "/.vimrc")
source ~/.vimrc
endif
'';
};
# build with debug symbols and in debug mode (less optimized)
opencvDebug = with super; enableDebugging ((opencv3.override {enablePython=true; enableGtk3=true; enableDocs=true; pythonPackages=pkgs.python3Packages; }).overrideAttrs (oldAttrs: rec {cmakeBuildType = "Debug";}));
2018-12-03 01:31:29 +01:00
}
)]