nix: rewrote overlay mechanism

This commit is contained in:
Primrose 2024-09-22 13:45:36 +02:00
parent d8a8d983cf
commit f8658fa62c
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
5 changed files with 93 additions and 93 deletions

View file

@ -1,4 +1,4 @@
{ self, ... }:
{ self, inputs, ... }:
{
flake.lib.mkNerdFont = ./mkNerdFont.nix;
@ -48,7 +48,10 @@
};
perSystem =
{ pkgs-stable, ... }:
{ system, ... }:
let
pkgs-stable = import inputs.nixpkgs-stable { inherit system; };
in
{
packages = self.overlays.packages pkgs-stable pkgs-stable;
};