2023-04-16 13:43:17 +02:00
|
|
|
{ config, lib, pkgs,
|
|
|
|
nixpkgs-unstable, nixpkgs-stable, nixpkgs-git,
|
|
|
|
... }:
|
2019-02-26 13:44:40 +01:00
|
|
|
|
2019-10-23 03:44:17 +02:00
|
|
|
let
|
|
|
|
callPackage = pkgs.callPackage;
|
|
|
|
in {
|
2023-04-16 13:43:17 +02:00
|
|
|
nixpkgs = {
|
|
|
|
config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
mpv.vaapiSupport = (lib.elem "xserver" config.machine.services);
|
2019-02-26 13:44:40 +01:00
|
|
|
|
2023-04-16 13:43:17 +02:00
|
|
|
packageOverrides = {
|
|
|
|
theme_flat-remix = callPackage ./flat-remix { };
|
|
|
|
theme_sddm_midnight = callPackage ./sddm_midnight { };
|
|
|
|
xdiskusage = callPackage ./xdiskusage { };
|
|
|
|
};
|
2019-02-26 13:44:40 +01:00
|
|
|
};
|
2023-04-16 13:43:17 +02: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
|
|
|
};
|
|
|
|
}
|