2022-11-07 11:24:40 -03:00
|
|
|
(inputs@{ system, ... }:
|
|
|
|
{ pkgs, ... }: {
|
|
|
|
nixpkgs.overlays = [
|
|
|
|
inputs.nur.overlay
|
|
|
|
(import ../scripts)
|
|
|
|
(import ./sway.nix)
|
|
|
|
(final: prev: {
|
|
|
|
unstable = inputs.nixpkgs-unstable.legacyPackages.${prev.system};
|
|
|
|
})
|
|
|
|
(final: prev: {
|
|
|
|
uservars = import ../user/variables.nix;
|
|
|
|
dhist = inputs.dhist.packages.${system}.dhist;
|
|
|
|
mpvpaper = inputs.wegank.packages.${prev.system}.mpvpaper;
|
2022-12-01 23:13:00 -03:00
|
|
|
sea-orm-cli =
|
|
|
|
inputs.sea-orm-cli.legacyPackages.${prev.system}.sea-orm-cli;
|
2022-12-06 20:19:12 -03:00
|
|
|
webcord =
|
|
|
|
inputs.webcord.legacyPackages.${prev.system}.webcord;
|
2022-11-25 16:13:01 -03:00
|
|
|
nil-lsp = inputs.nil-lsp.packages.${prev.system}.nil;
|
2022-11-07 11:24:40 -03:00
|
|
|
alacritty = (prev.unstable.alacritty.overrideAttrs (old-alacritty: rec {
|
2022-10-21 13:55:35 -03:00
|
|
|
src = inputs.alacritty-sixel;
|
2022-11-07 11:24:40 -03:00
|
|
|
cargoDeps = old-alacritty.cargoDeps.overrideAttrs (prev.lib.const {
|
|
|
|
inherit src;
|
2022-12-02 14:40:11 -03:00
|
|
|
outputHash = "sha256-jqjYMVkH32z5EFgafiOYAOc5Q/IYs0jjJeqRb0L6WsY=";
|
2022-11-07 11:24:40 -03:00
|
|
|
});
|
2022-10-21 13:55:35 -03:00
|
|
|
}));
|
2022-11-07 11:24:40 -03:00
|
|
|
ranger = (prev.ranger.overridePythonAttrs (old-ranger: rec {
|
|
|
|
src = inputs.ranger-sixel;
|
|
|
|
checkInputs = [ ];
|
|
|
|
propagatedBuildInputs = with prev.python3Packages;
|
|
|
|
old-ranger.propagatedBuildInputs ++ [ astroid pylint pytest ];
|
|
|
|
}));
|
2022-12-02 00:36:54 -03:00
|
|
|
sway-unwrapped = prev.sway-unwrapped.overrideAttrs (old: {
|
|
|
|
patches = old.patches ++ [
|
|
|
|
../patches/sway/fix-hide_cursor-clearing-focus.patch
|
|
|
|
];
|
|
|
|
});
|
2022-11-07 11:24:40 -03:00
|
|
|
material-wifi-icons = final.stdenv.mkDerivation rec {
|
|
|
|
name = "material-wifi-icons";
|
|
|
|
src = inputs.material-wifi-icons;
|
|
|
|
installPhase = let dest = "$out/share/fonts/${name}";
|
|
|
|
in ''
|
|
|
|
mkdir -p ${dest}
|
|
|
|
cp material-wifi.ttf ${dest}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
papirus_red =
|
|
|
|
(final.unstable.papirus-icon-theme.override { color = "red"; });
|
|
|
|
orchis_theme_compact =
|
|
|
|
(final.orchis-theme.override { tweaks = [ "compact" "solid" ]; });
|
|
|
|
nerdfonts_fira_hack =
|
|
|
|
(final.nerdfonts.override { fonts = [ "FiraCode" "Hack" ]; });
|
|
|
|
})
|
|
|
|
];
|
|
|
|
})
|