From e66423e29b722122f878cd4f332ed656fdb3dec4 Mon Sep 17 00:00:00 2001 From: PerchunPak Date: Sat, 17 Jan 2026 23:50:17 +0100 Subject: [PATCH] Don't overwrite channels options --- snowfall-lib/flake/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/snowfall-lib/flake/default.nix b/snowfall-lib/flake/default.nix index 65cbe30..3565415 100644 --- a/snowfall-lib/flake/default.nix +++ b/snowfall-lib/flake/default.nix @@ -174,9 +174,13 @@ in rec { channelsConfig = full-flake-options.channels-config or {}; - channels.nixpkgs.overlaysBuilder = snowfall-lib.overlay.create-overlays-builder { - inherit namespace; - extra-overlays = full-flake-options.overlays or []; + channels = custom-flake-options.channels // { + nixpkgs = custom-flake-options.channels.nixpkgs // { + overlaysBuilder = snowfall-lib.overlay.create-overlays-builder { + inherit namespace; + extra-overlays = full-flake-options.overlays or [ ]; + }; + }; }; outputsBuilder = outputs-builder;