mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
ref(nix)!: reorganize overlays
fix the issue where exported modules can't find exported packages
This commit is contained in:
parent
87c9090ebe
commit
871d6ed1d3
3 changed files with 196 additions and 189 deletions
|
|
@ -15,19 +15,7 @@ let
|
|||
# Has to be done here because hm-modules don't have access to flake inputs
|
||||
nix.registry.nixpkgs.flake = inputs.nixpkgs;
|
||||
|
||||
nixpkgs.overlays = [
|
||||
self.overlays.default
|
||||
|
||||
(
|
||||
final: _:
|
||||
let
|
||||
stable = import inputs.nixpkgs-stable { inherit (final) system; };
|
||||
in
|
||||
{
|
||||
myPkgs = self.overlays.packages stable stable;
|
||||
}
|
||||
)
|
||||
];
|
||||
nixpkgs.overlays = [ self.overlays.default ];
|
||||
};
|
||||
|
||||
mkNixOSes =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue