os/overlays/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

70 lines
2.2 KiB
Nix
Raw Normal View History

2023-10-07 18:14:16 +00:00
{
self,
inputs,
...
}: {
flake = {
nixosModules = {
2024-08-18 22:22:59 +00:00
overlays = {...}: {
2023-10-07 18:14:16 +00:00
nixpkgs.overlays = [
inputs.deno2nix.overlays.default
inputs.nixd.overlays.default
inputs.invoiceplane-template.overlays.default
inputs.mezza-biz.overlays.default
(final: prev: (import ../pkgs { pkgs = final; }))
(final: prev: let
2024-08-18 22:22:59 +00:00
unstable = import inputs.nixpkgs-unstable {system = prev.system;};
master = import inputs.nixpkgs-master {system = prev.system;};
in {
factorio-headless = master.factorio-headless;
authelia = master.authelia;
paperless-ngx = master.paperless-ngx.overrideAttrs (oa: {
doCheck = false;
doInstallCheck = false;
});
waybar = master.waybar;
firefox = unstable.firefox;
2024-04-15 14:22:06 +00:00
nix-inspect = unstable.nix-inspect;
nix = unstable.lix;
2023-10-07 18:14:16 +00:00
adlist = inputs.adblock-unbound.packages.${prev.system};
haskellPackages =
prev.haskellPackages.override
(old: {
overrides = prev.lib.composeExtensions (old.overrides or (_: _: {})) (hfinal: hprev: let
version = prev.lib.replaceChars ["."] [""] prev.ghc.version;
in {
# same for haskell packages, matching ghc versions
inherit
(unstable.haskell.packages."ghc${version}")
haskell-language-server
;
});
});
vimPlugins = prev.vimPlugins // {inherit (unstable.vimPlugins) nvim-lspconfig;};
2023-10-07 18:14:16 +00:00
})
2023-10-07 18:14:16 +00:00
(import ./rnix-lsp.nix)
(import ./neovim-plugins.nix)
(final: prev: {
b12f-io = prev.stdenv.mkDerivation {
name = "b12f.io";
inherit (prev.sources.b12f-io-nvfetcher) version src;
installPhase = ''
mkdir -p $out
cp -r * $out/
cp -r fonts cows.jpg fonts.css index.html bbeu-public.key $out/
'';
};
})
2023-10-07 18:14:16 +00:00
];
2024-08-18 22:22:59 +00:00
};
2023-10-07 18:14:16 +00:00
};
};
}