os/overlays/default.nix

48 lines
1.3 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"
"1password-cli"
"slack"
];
};
master = import inputs.master {
system = prev.system;
};
in
{
direnv = unstable.direnv;
nix-direnv = unstable.nix-direnv;
qMasterPassword-wayland = unstable.qMasterPassword-wayland;
slack = unstable.slack;
_1password = unstable._1password;
_1password-cli = unstable._1password-cli;
signal-desktop = unstable.signal-desktop;
wlvncc = unstable.wlvncc;
#vimPlugins = prev.vimPlugins // {inherit (unstable.vimPlugins) nvim-lspconfig;};
})
(import ../pkgs)
(import ./blesh.nix)
(import ./element-desktop.nix)
(import ./mdbook-multilang.nix inputs)
(import ./nix-index.nix)
(import ./prr.nix)
(import ./neovim-plugins.nix)
];
});
};
};
}