2023-10-07 18:14:16 +00:00
|
|
|
{
|
|
|
|
self,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
flake = {
|
|
|
|
nixosModules = rec {
|
|
|
|
overlays = ({ ... }: {
|
|
|
|
nixpkgs.overlays = [
|
2023-11-08 21:45:02 +00:00
|
|
|
(final: prev: let
|
|
|
|
unstable = import inputs.nixpkgs-unstable { system = prev.system; };
|
|
|
|
master = import inputs.nixpkgs-master { system = prev.system; };
|
|
|
|
in {
|
|
|
|
nixd = unstable.nixd;
|
2023-10-07 18:14:16 +00:00
|
|
|
|
2023-11-08 21:45:02 +00:00
|
|
|
factorio-headless = master.factorio-headless;
|
|
|
|
paperless-ngx = master.paperless-ngx;
|
|
|
|
waybar = master.waybar;
|
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
|
|
|
})
|
|
|
|
(import ../pkgs)
|
|
|
|
(import ./blesh.nix)
|
|
|
|
(import ./rnix-lsp.nix)
|
|
|
|
(import ./neovim-plugins.nix)
|
|
|
|
(import ./signal-desktop.nix)
|
|
|
|
];
|
|
|
|
});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|