nixos/pkgs/nixpkgs.nix

36 lines
851 B
Nix
Raw Normal View History

2023-09-11 20:23:04 +02:00
{
config,
lib,
pkgs,
nixpkgs-unstable,
nixpkgs-stable,
nixpkgs-git,
...
}:
let
2023-09-11 21:20:14 +02:00
inherit (pkgs) callPackage;
in
{
nixpkgs = {
config = {
allowUnfree = true;
2023-09-11 20:23:04 +02:00
mpv.vaapiSupport = lib.elem "xserver" config.machine.services;
2019-02-26 13:44:40 +01:00
packageOverrides = {
pyluxafor = pkgs.python3Packages.callPackage ./pyluxafor { };
theme_flat-remix = callPackage ./flat-remix { };
theme_sddm_midnight = callPackage ./sddm_midnight { };
xdiskusage = callPackage ./xdiskusage { };
kanagawa = callPackage ./kanagawa { };
};
2019-02-26 13:44:40 +01:00
};
overlays = [
(final: prev: {
gitpkgs = nixpkgs-git.legacyPackages."${prev.system}";
stablepkgs = nixpkgs-stable.legacyPackages."${prev.system}";
unstablepkgs = nixpkgs-unstable.legacyPackages."${prev.system}";
})
];
2019-02-26 13:44:40 +01:00
};
}