pkgs: import all packages into core overlay
This commit is contained in:
parent
787eb050df
commit
667fad8f1e
6 changed files with 12 additions and 18 deletions
|
@ -1,7 +1,7 @@
|
|||
{ stdenv, fetchzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dejavu-sans-mono-nerdfonts-${version}";
|
||||
name = "dejavu-nerdfont-${version}";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchzip {
|
||||
|
|
5
pkgs/default.nix
Normal file
5
pkgs/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
self: super: {
|
||||
sddm-chili = super.callPackage ./applications/display-managers/sddm/themes/chili {};
|
||||
dejavu_nerdfont = super.callPackage ./data/fonts/dejavu-nerdfont {};
|
||||
purs = super.callPackage ./shells/zsh/purs {};
|
||||
}
|
|
@ -142,6 +142,11 @@ in
|
|||
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.overlays = let
|
||||
overlay = import ../pkgs;
|
||||
in
|
||||
[ overlay ];
|
||||
|
||||
|
||||
|
||||
programs.mtr.enable = true;
|
||||
|
|
|
@ -31,19 +31,12 @@
|
|||
];
|
||||
|
||||
fonts = {
|
||||
fonts = [ pkgs.dejaVuNerdFont ];
|
||||
fonts = [ pkgs.dejavu_nerdfont ];
|
||||
fontconfig.defaultFonts.monospace = [
|
||||
"DejaVu Sans Mono Nerd Font Complete Mono"
|
||||
];
|
||||
};
|
||||
|
||||
nixpkgs.overlays = let
|
||||
font = self: super: {
|
||||
dejaVuNerdFont = super.callPackage ../../pkgs/data/fonts/dejavu-nerdfont {};
|
||||
};
|
||||
in
|
||||
[ font ];
|
||||
|
||||
documentation.dev.enable = true;
|
||||
|
||||
programs.thefuck.enable = true;
|
||||
|
|
|
@ -63,13 +63,6 @@ in
|
|||
};
|
||||
|
||||
|
||||
nixpkgs.overlays = let
|
||||
purs = self: super:
|
||||
{ purs = super.callPackage ../../../pkgs/shells/zsh/purs {}; };
|
||||
in
|
||||
[ purs ];
|
||||
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
|
||||
|
|
|
@ -102,8 +102,6 @@ in
|
|||
[icon theme]
|
||||
Inherits=Adwaita
|
||||
'';
|
||||
|
||||
sddm-chili = super.callPackage ../../pkgs/applications/display-managers/sddm/themes/chili {};
|
||||
};
|
||||
in
|
||||
[ overlay ];
|
||||
|
|
Loading…
Reference in a new issue