2023-01-19 01:02:32 -03:00
|
|
|
(inputs@{ system, packages, ... }:
|
2022-11-07 11:24:40 -03:00
|
|
|
{ pkgs, ... }: {
|
|
|
|
nixpkgs.overlays = [
|
|
|
|
inputs.nur.overlay
|
|
|
|
(import ../scripts)
|
|
|
|
(import ./sway.nix)
|
|
|
|
(final: prev: {
|
|
|
|
unstable = inputs.nixpkgs-unstable.legacyPackages.${prev.system};
|
|
|
|
})
|
2022-12-13 12:50:11 -03:00
|
|
|
(import ./sixel-patches.nix (inputs // { inherit pkgs; }))
|
2022-11-07 11:24:40 -03:00
|
|
|
(final: prev: {
|
2023-01-19 01:02:32 -03:00
|
|
|
inherit (packages) dzgui;
|
2022-12-14 01:05:27 -03:00
|
|
|
plymouth-theme-red = (import ./plymouth-theme-red.nix (inputs // { inherit pkgs; }));
|
2022-11-07 11:24:40 -03:00
|
|
|
uservars = import ../user/variables.nix;
|
|
|
|
dhist = inputs.dhist.packages.${system}.dhist;
|
2023-01-21 01:58:12 -03:00
|
|
|
demoji = inputs.demoji.packages.${system}.demoji;
|
2023-01-21 10:44:52 -03:00
|
|
|
devenv = inputs.devenv.packages.${system}.devenv;
|
2022-11-07 11:24:40 -03:00
|
|
|
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-13 12:50:11 -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-12-02 00:36:54 -03:00
|
|
|
sway-unwrapped = prev.sway-unwrapped.overrideAttrs (old: {
|
2022-12-13 12:50:11 -03:00
|
|
|
patches = old.patches
|
|
|
|
++ [ ../patches/sway/fix-hide_cursor-clearing-focus.patch ];
|
2022-12-02 00:36:54 -03:00
|
|
|
});
|
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" ]; });
|
2022-12-12 12:39:18 -03:00
|
|
|
steam = prev.steam.override {
|
2022-12-13 12:50:11 -03:00
|
|
|
extraPkgs = pkgs: with pkgs; [ capitaine-cursors bibata-cursors ];
|
2022-12-12 12:39:18 -03:00
|
|
|
};
|
2022-11-07 11:24:40 -03:00
|
|
|
})
|
|
|
|
];
|
|
|
|
})
|