2023-10-07 18:14:16 +00:00
|
|
|
{
|
|
|
|
self,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
flake = {
|
2024-08-19 08:03:03 +00:00
|
|
|
nixosModules = {
|
2024-08-18 22:22:59 +00:00
|
|
|
overlays = {...}: {
|
2023-10-07 18:14:16 +00:00
|
|
|
nixpkgs.overlays = [
|
2024-03-12 11:17:01 +00:00
|
|
|
inputs.deno2nix.overlays.default
|
2024-03-12 16:20:34 +00:00
|
|
|
inputs.nixd.overlays.default
|
2024-04-06 00:36:58 +00:00
|
|
|
inputs.invoiceplane-template.overlays.default
|
2024-08-24 19:39:20 +00:00
|
|
|
inputs.mezza-biz.overlays.default
|
2024-03-12 11:17:01 +00:00
|
|
|
|
2024-09-10 11:12:43 +00:00
|
|
|
(final: prev: (import ../pkgs { pkgs = final; }))
|
|
|
|
|
2023-11-08 21:45:02 +00:00
|
|
|
(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;};
|
2023-11-08 21:45:02 +00:00
|
|
|
in {
|
|
|
|
factorio-headless = master.factorio-headless;
|
2024-09-12 11:58:32 +00:00
|
|
|
authelia = master.authelia;
|
|
|
|
paperless-ngx = master.paperless-ngx.overrideAttrs (oa: {
|
|
|
|
doCheck = false;
|
|
|
|
doInstallCheck = false;
|
|
|
|
});
|
2023-11-08 21:45:02 +00:00
|
|
|
waybar = master.waybar;
|
2024-10-10 11:27:16 +00:00
|
|
|
firefox = unstable.firefox;
|
2024-04-15 14:22:06 +00:00
|
|
|
nix-inspect = unstable.nix-inspect;
|
2024-08-19 08:03:03 +00:00
|
|
|
nix = unstable.lix;
|
2023-10-07 18:14:16 +00:00
|
|
|
|
|
|
|
adlist = inputs.adblock-unbound.packages.${prev.system};
|
2023-11-08 21:45:02 +00:00
|
|
|
|
|
|
|
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
|
|
|
})
|
2024-02-03 14:57:00 +00:00
|
|
|
|
2023-10-07 18:14:16 +00:00
|
|
|
(import ./rnix-lsp.nix)
|
|
|
|
(import ./neovim-plugins.nix)
|
2024-02-03 14:57:00 +00:00
|
|
|
|
|
|
|
(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
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|