try to add a stable nixpkgs overlay

This commit is contained in:
MFlossmann 2024-05-11 13:07:32 +02:00
parent 94f08a3847
commit 12236a3e49
3 changed files with 6 additions and 3 deletions

View file

@ -1,6 +1,9 @@
{inputs}: let
helperLib = (import ./default.nix) {inherit inputs;};
outputs = inputs.self.outputs;
overlay-stable = final: prev: {
stable = inputs.nixpkgs-stable.legacyPackages.${prev.system};
};
in rec {
# ================================================================ #
# = My Lib = #
@ -18,6 +21,7 @@ in rec {
inherit inputs outputs helperLib;
};
modules = [
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-stable ]; })
config
outputs.nixosModules.default
];
@ -30,6 +34,7 @@ in rec {
inherit inputs helperLib outputs;
};
modules = [
({ config, pkgs, ...}: { nixpkgs.overlays = [ overlay-stable ]; })
config
outputs.homeManagerModules.default
];