os/overlays/default.nix
2023-11-10 19:48:06 +01:00

51 lines
1.2 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"
];
};
in
{
nixd = unstable.nixd;
_1password = unstable._1password;
_1password-gui = unstable._1password-gui;
thunderbird = unstable.thunderbird;
docker_24 = unstable.docker_24;
flyctl = unstable.flyctl;
slack = unstable.slack;
vimPlugins = prev.vimPlugins // {inherit (unstable.vimPlugins) nvim-lspconfig;};
})
(import ../pkgs)
(import ./blesh.nix)
(import ./manix.nix)
(import ./mdbook-multilang.nix inputs)
(import ./prr.nix)
(import ./rnix-lsp.nix)
(import ./neovim-plugins.nix)
(import ./signal-desktop.nix)
];
});
};
};
}