aboutsummaryrefslogtreecommitdiff
path: root/flake/scripts/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flake/scripts/default.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/flake/scripts/default.nix b/flake/scripts/default.nix
new file mode 100644
index 0000000..db6febe
--- /dev/null
+++ b/flake/scripts/default.nix
@@ -0,0 +1,15 @@
+{
+ pkgs,
+ system,
+ inputs,
+}:
+let
+ common = import ./common.nix { inherit pkgs; };
+ darwin = import ./darwin.nix { inherit pkgs system inputs; };
+in
+{
+ common = common;
+ darwin = if pkgs.lib.hasSuffix "darwin" system then darwin else [ ];
+
+ all = common ++ (if pkgs.lib.hasSuffix "darwin" system then darwin else [ ]);
+}