flake: reorganize overlays under flake/ as a plain overlay list

This commit is contained in:
2026-07-22 18:15:33 +08:00
parent e1c421af54
commit 7d42a6c466
6 changed files with 36 additions and 73 deletions
+2 -13
View File
@@ -9,22 +9,11 @@
}:
let
vars = import ../vars.nix;
pkgsModule = { config, ... }: {
pkgsModule = args: {
nixpkgs = lib.mkMerge [
pkgsParams
{
overlays = [
(final: _prev: {
stable = import inputs.nixpkgs-stable {
inherit (final.stdenv.hostPlatform) system;
inherit (config.nixpkgs) config;
};
master = import inputs.nixpkgs-master {
inherit (final.stdenv.hostPlatform) system;
inherit (config.nixpkgs) config;
};
})
];
overlays = (import ./overlays args);
}
];
};