feat: add flake-friendly nix-index overlay
See: https://github.com/nix-community/nix-index/pull/227
This commit is contained in:
parent
f706733f0b
commit
b7ebed04d3
|
@ -1,5 +1,34 @@
|
|||
[
|
||||
{
|
||||
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 ./manix.nix)
|
||||
(import ./neovim-plugins.nix)
|
||||
]
|
||||
(import ./nix-index.nix)
|
||||
];
|
||||
});
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue