move package overrides to overlay
This commit is contained in:
parent
40b662d21e
commit
9686e92320
|
@ -4,6 +4,7 @@ let
|
|||
in
|
||||
{
|
||||
|
||||
firefox.enablePlasmaBrowserIntegration = true;
|
||||
clementine.spotify = false;
|
||||
whitelistedLicenses = with lib.licenses; [ wtfpl ];
|
||||
vim =
|
||||
|
@ -11,38 +12,4 @@ in
|
|||
python = true;
|
||||
multibyteSupport = true;
|
||||
};
|
||||
|
||||
packageOverrides = pkgs: with pkgs;
|
||||
rec {
|
||||
myVim = (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 = enableDebugging ((opencv3.override {enablePython=true; enableGtk3=true; enableDocs=true; pythonPackages=pkgs.python3Packages; }).overrideAttrs (oldAttrs: rec {cmakeBuildType = "Debug";}));
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@ with pkgs;
|
|||
let
|
||||
unstable = import <nixos-unstable> {};
|
||||
mybrowser = firefox;
|
||||
lorri = import (fetchTarball { url = "https://github.com/target/lorri/archive/rolling-release.tar.gz"; }) { };
|
||||
|
||||
desktopApps = [
|
||||
mybrowser
|
||||
|
@ -119,6 +120,7 @@ let
|
|||
|
||||
nixHelpers = [
|
||||
nox
|
||||
lorri
|
||||
];
|
||||
|
||||
kdeTools = with kdeApplications; [
|
||||
|
@ -172,6 +174,7 @@ let
|
|||
mtr
|
||||
wireshark
|
||||
ripgrep
|
||||
ghc
|
||||
];
|
||||
|
||||
|
||||
|
@ -233,7 +236,7 @@ let
|
|||
];
|
||||
|
||||
games = [
|
||||
superTuxKart
|
||||
unstable.superTuxKart
|
||||
hedgewars
|
||||
steam-run-native
|
||||
];
|
||||
|
|
|
@ -1,7 +1,36 @@
|
|||
[(self: super:
|
||||
{
|
||||
amarok = super.libsForQt5.callPackage ./ov/amarok.nix {};
|
||||
stapler = super.python2.callPackage ./ov/stapler.nix {};
|
||||
#stapler = super.python2.callPackage ./ov/stapler.nix {};
|
||||
#tor-browser-bundle-bin = super.callPackage ./ov/tor-browser-bundle-bin.nix { inherit (super.gnome3) defaultIconTheme; };
|
||||
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";}));
|
||||
}
|
||||
)]
|
||||
|
|
Loading…
Reference in a new issue