Refractor to dendritic approach.

This commit is contained in:
2026-05-24 19:24:38 +03:00
parent d4dee59413
commit fcb7e0b884
68 changed files with 774 additions and 942 deletions
+4 -15
View File
@@ -1,22 +1,11 @@
# This file defines overlays
{inputs, ...}: {
addpkgs = final: _prev: (import ../pkgs {pkgs = final.pkgs;});
#Current overlay is for helm, to disable binary, so no conflict
modifications = final: prev: {
helm = prev.helm.overrideAttrs (oldAttrs: rec {
patches =
oldAttrs.patches
or []
++ [
./helm.patch
];
config.flake.overlays.modifications = _final: prev: {
helm = prev.helm.overrideAttrs (oldAttrs: {
patches = oldAttrs.patches or [] ++ [./helm.patch];
});
};
# When applied, the unstable nixpkgs set (declared in the flake inputs) will
# be accessible through 'pkgs.unstable'
unstable-packages = final: _prev: {
config.flake.overlays.unstable-packages = final: _prev: {
unstable = import inputs.nixpkgs-unstable {
system = final.system;
config.allowUnfree = true;