nixconfigs/home/overlays.nix

51 lines
1.7 KiB
Nix
Raw Normal View History

let
2020-08-14 16:44:59 +02:00
#unstable = (import <nixos-unstable> { overlays = [ seaf-overlay ]; }).pkgs;
2020-08-14 16:44:59 +02:00
#seaf-overlay = (import ./ov/seafile-overlay);
in
2020-02-16 21:58:51 +01:00
[
(
self: super:
rec {
lolcommits = super.callPackage ./ov/lolcommits-nixpkgs {mplayer = mplayerV4l;};
mplayerV4l = super.callPackage ./ov/mplayer.nix {v4lSupport = true;};
2020-06-09 22:26:02 +02:00
#jami-ring-daemon = super.qt5.callPackage ./ov/jami/ring-daemon.nix {};
2020-08-14 16:44:59 +02:00
#seafile-server = unstable.seafile-server;
2020-02-16 21:58:51 +01: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
2020-02-27 23:24:22 +01:00
base16-vim
2020-02-16 21:58:51 +01:00
LanguageClient-neovim
ctrlp
direnv-vim
fugitive
2020-02-27 23:24:22 +01:00
haskell-vim
2020-02-16 21:58:51 +01:00
jedi-vim
nerdtree
nerdtree-git-plugin
supertab
vim-pandoc
vim-pandoc-syntax
vim-nix
vim-jinja
];
};
vimrcConfig.customRC =
''if filereadable($HOME . "/.vimrc")
2019-08-21 23:45:09 +02:00
source ~/.vimrc
endif
'';
2020-02-16 21:58:51 +01:00
};
# 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"; }));
#gnutls = super.callPackage ./ov/gnutls {inherit (super.darwin.apple_sdk.frameworks) Security;};
}
)
]