implement overlays

This commit is contained in:
TheWanderingCrow 2025-06-25 16:22:40 -04:00
parent 5a7a3dda30
commit 7d2bf2b8b1
6 changed files with 172 additions and 18 deletions

23
overlays/default.nix Normal file
View file

@ -0,0 +1,23 @@
{inputs, ...}: let
stable-packages = final: _prev: {
stable = import inputs.nixpkgs-stable {
inherit (final) system;
config.allowUnfree = true;
# overlays = [
# ];
};
};
unstable-packages = final: _prev: {
unstable = import inputs.nixpkgs-unstable {
inherit (final) system;
config.allowUnfree = true;
# overlays = [
# ];
};
};
in {
default = final: prev:
(stable-packages final prev)
// (unstable-packages final prev);
}