os/overlays/default.nix

35 lines
771 B
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"
#];
};
in
{
#slack = unstable.slack;
#vimPlugins = prev.vimPlugins // {inherit (unstable.vimPlugins) nvim-lspconfig;};
})
(import ../pkgs)
(import ./neovim-plugins.nix)
(import ./nix-index.nix)
];
});
};
};
}