forked from pub-solar/os
pkgs: import all packages into core overlay
This commit is contained in:
parent
787eb050df
commit
667fad8f1e
|
@ -1,7 +1,7 @@
|
||||||
{ stdenv, fetchzip }:
|
{ stdenv, fetchzip }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "dejavu-sans-mono-nerdfonts-${version}";
|
name = "dejavu-nerdfont-${version}";
|
||||||
version = "2.0.0";
|
version = "2.0.0";
|
||||||
|
|
||||||
src = fetchzip {
|
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.config.allowUnfree = true;
|
||||||
|
nixpkgs.overlays = let
|
||||||
|
overlay = import ../pkgs;
|
||||||
|
in
|
||||||
|
[ overlay ];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
programs.mtr.enable = true;
|
programs.mtr.enable = true;
|
||||||
|
|
|
@ -31,19 +31,12 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
fonts = [ pkgs.dejaVuNerdFont ];
|
fonts = [ pkgs.dejavu_nerdfont ];
|
||||||
fontconfig.defaultFonts.monospace = [
|
fontconfig.defaultFonts.monospace = [
|
||||||
"DejaVu Sans Mono Nerd Font Complete Mono"
|
"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;
|
documentation.dev.enable = true;
|
||||||
|
|
||||||
programs.thefuck.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 = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|
|
@ -102,8 +102,6 @@ in
|
||||||
[icon theme]
|
[icon theme]
|
||||||
Inherits=Adwaita
|
Inherits=Adwaita
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sddm-chili = super.callPackage ../../pkgs/applications/display-managers/sddm/themes/chili {};
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
[ overlay ];
|
[ overlay ];
|
||||||
|
|
Loading…
Reference in a new issue