nixos/pkgs/nixpkgs.nix

33 lines
804 B
Nix
Raw Normal View History

2023-09-11 20:23:04 +02:00
{
config,
lib,
pkgs,
nixpkgs-unstable,
nixpkgs-stable,
nixpkgs-git,
...
}: let
callPackage = 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 = {
2023-06-15 11:04:34 +02:00
pyluxafor = pkgs.python3Packages.callPackage ./pyluxafor {};
2023-09-11 20:23:04 +02:00
theme_flat-remix = callPackage ./flat-remix {};
theme_sddm_midnight = callPackage ./sddm_midnight {};
xdiskusage = callPackage ./xdiskusage {};
};
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
};
}