{inputs, ...}: { additions = final: _prev: import ../pkgs final.pkgs; modifications = final: prev: { mods = { helix = (inputs.helix.overlays.default final prev).helix; # helix = inputs.helix.packages.${final.system}.helix.overrideAttrs (finalAttrs: oldAttrs: { # patches = # oldAttrs.patches # ++ [ # # dark / light mode # (prev.fetchpatch { # url = "https://github.com/helix-editor/helix/pull/14356.patch"; # hash = "sha256-VeV+LIUgvBjviwxdiWLTYh38FeMaW54pAz+t3lXzB0M="; # excludes = ["book/src/themes.md"]; # }) # ]; # cargoHash = "sha256-j3TRLqL1wjia9lgvlnJ1qDA8MBCqwCv5eF8kxqfYIlE="; # cargoDeps = prev.rustPlatform.fetchCargoVendor { # inherit (finalAttrs) src; # hash = finalAttrs.cargoHash; # }; # }); xwayland-satellite = prev.xwayland-satellite.overrideAttrs (finalAttrs: old: { src = prev.fetchFromGitHub { owner = "Supreeeme"; repo = "xwayland-satellite"; rev = "41e865c8d35468c67b991ef5a245a98b3e44108c"; hash = "sha256-SGcqX3amLH4xiA+dwF2Fu2mt1O8zHc60v0+NEZGDJhw="; }; cargoHash = "sha256-BL2JaO/NGYhXtXtbVlsTxkO6SMO5D8aDSaPf7oV2TVE="; cargoDeps = prev.rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname src version; hash = finalAttrs.cargoHash; }; }); }; }; unstable-packages = final: prev: { unstable = import inputs.nixpkgs-unstable { system = final.system; config.allowUnfree = true; }; }; niri = inputs.niri.overlays.niri; }