about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/mk_darwin.nix23
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/mk_darwin.nix b/lib/mk_darwin.nix
deleted file mode 100644
index de4fc4e..0000000
--- a/lib/mk_darwin.nix
+++ /dev/null
@@ -1,23 +0,0 @@
-{ self, darwin, ... } @ args:
-
-{ name, nixpkgs, system ? "aarch64-darwin", overlays ? null, extraModules ? null }:
-darwin.lib.darwinSystem (
-  let
-    configFolder = "${self}/darwin";
-    entryPoint = "${configFolder}/${name}/configuration.nix";
-  in
-  {
-    system = system;
-    inputs = { inherit darwin nixpkgs; };
-
-    modules = [
-      {
-        _module.args = args;
-        networking.hostName = name;
-      }
-      entryPoint
-      ../modules/nix.nix
-    ] ++ nixpkgs.lib.optional (overlays != null) { nixpkgs.overlays = overlays; }
-    ++ nixpkgs.lib.optionals (extraModules != null) extraModules;
-  }
-)