os/overlays/default.nix
2023-12-16 00:43:20 +01:00

50 lines
1.4 KiB
Nix

{
self,
lib,
inputs,
...
}: {
flake = {
nixosModules = rec {
overlays = ({ ... }: {
nixpkgs.overlays = [
(final: prev:
let
unstable = import inputs.unstable {
system = prev.system;
#config.allowUnfreePredicate = pkg: builtins.elem (prev.lib.getName pkg) [
# "1password-cli"
# "1password"
# "slack"
#];
};
master = import inputs.master {
system = prev.system;
config.allowUnfreePredicate = pkg: builtins.elem (prev.lib.getName pkg) [
"slack"
];
};
fork = import inputs.fork {
system = prev.system;
};
in
{
direnv = unstable.direnv;
nix-direnv = unstable.nix-direnv;
qMasterPassword-wayland = master.qMasterPassword-wayland;
slack = master.slack;
signal-desktop = fork.signal-desktop;
#vimPlugins = prev.vimPlugins // {inherit (unstable.vimPlugins) nvim-lspconfig;};
})
(import ../pkgs)
(import ./blesh.nix)
(import ./mdbook-multilang.nix inputs)
(import ./nix-index.nix)
(import ./prr.nix)
(import ./neovim-plugins.nix)
];
});
};
};
}