nix-conf/modules/overlays/default.nix

24 lines
529 B
Nix
Raw Normal View History

2024-01-02 19:32:20 +01:00
{ config, lib, self, ... }:
let cfg = config.jopejoe1.overlays;
in {
options.jopejoe1.overlays = {
enable = lib.mkEnableOption "Enable Overlays";
};
config = lib.mkIf cfg.enable {
nixpkgs = {
overlays = [
self.inputs.prismlauncher.overlays.default
(_self: super: rec {
firefox-addons = self.inputs.firefox-addons.packages.${config.nixpkgs.hostPlatform.system};
localPkgs = self.outputs.packages.${config.nixpkgs.hostPlatform.system};
2024-01-02 19:32:20 +01:00
})
];
};
};
}