Simplify nixpkgs eval

This commit is contained in:
Greg Hellings
2025-12-18 10:51:09 -06:00
parent 2506557368
commit 36526b4562
5 changed files with 32 additions and 43 deletions
+4 -8
View File
@@ -1,27 +1,23 @@
{ top, overlays }:
{ top, nixpkgs }:
let
inherit (top.nixunstable) lib;
mac =
{
system ? "aarch64-darwin",
name,
channel ? top.nixunstable,
hm ? top.hmunstable,
}:
let
nixpkgs = import channel {
inherit system overlays;
};
pkgs = nixpkgs.${system};
in
top.darwin.lib.darwinSystem {
inherit system;
inherit pkgs system;
specialArgs = {
inherit nixpkgs overlays top;
inherit top;
inherit (top) self;
};
modules = [
{
nixpkgs.overlays = overlays;
home-manager = {
extraSpecialArgs = {
inherit top;