Simplify nixpkgs eval

This commit is contained in:
Greg Hellings
2025-12-16 09:07:55 -06:00
parent c77c4a8ff6
commit 1a528f10de
10 changed files with 25 additions and 155 deletions
+5 -3
View File
@@ -1,4 +1,4 @@
{ top, overlays, ... }:
{ top, overlays }:
let
inherit (top.nixunstable) lib;
mac =
@@ -9,7 +9,9 @@ let
hm ? top.hmunstable,
}:
let
nixpkgs = import channel { inherit system overlays; };
nixpkgs = import channel {
inherit system overlays;
};
in
top.darwin.lib.darwinSystem {
inherit system;
@@ -35,7 +37,7 @@ let
++ lib.optionals (builtins.pathExists ./hosts/${name}) [ ./hosts/${name} ];
};
in
rec {
{
"MacBook-Pro" = mac { name = "ivr"; };
"MacBook-Prolocal" = mac { name = "ivr"; };
}