feat: my custom libAttrs

This commit is contained in:
Ryan Yin
2023-12-23 10:56:33 +08:00
parent 27dd5ebb13
commit 82cfa4c6f7
6 changed files with 65 additions and 22 deletions
+2 -3
View File
@@ -1,7 +1,6 @@
args:
with args;
with allSystemAttrs; let
inherit (nixpkgs) lib;
macosSystem = import ../lib/macosSystem.nix;
base_args = {
inherit nix-darwin home-manager;
@@ -11,7 +10,7 @@ in {
# macOS's configuration
darwinConfigurations = {
harmonica = macosSystem (
lib.attrsets.mergeAttrsList [
libAttrs.mergeAttrsList [
base_args
darwin_harmonica_modules
{
@@ -22,7 +21,7 @@ in {
);
fern = macosSystem (
lib.attrsets.mergeAttrsList [
libAttrs.mergeAttrsList [
base_args
darwin_fern_modules
{