nixos-config/overlays/stable.nix

22 lines
484 B
Nix

# NOTE: pkgs is unused but there for consistency with nur.nix
{
lib, ...
}: final: prev:
let
stableTarball =
fetchTarball
https://github.com/NixOS/nixpkgs/archive/nixos-21.05.tar.gz;
in {
stable = import stableTarball {
# TODO
config = {
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"firmwareLinuxNonfree" "microcodeAmd" "microcodeIntel"
"steam" "steam-original" "steam-runtime"
"discord"
];
};
};
}