From a8630322f77dbb7be4810099a42352b9278996a1 Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 1 Oct 2023 10:41:09 -0400 Subject: treewide!: flatten to parts/ layout --- modules/darwin/base/nix.nix | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 modules/darwin/base/nix.nix (limited to 'modules/darwin/base/nix.nix') diff --git a/modules/darwin/base/nix.nix b/modules/darwin/base/nix.nix deleted file mode 100644 index c853650..0000000 --- a/modules/darwin/base/nix.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ - config, - lib, - inputs, - ... -}: let - inherit (builtins) attrNames map; - inherit (lib) mkIf; - cfg = config.base.nix-settings; - - channelPath = i: "${inputs.${i}.outPath}"; - - mapInputs = fn: map fn (attrNames inputs); -in { - config = mkIf cfg.enable { - nix.nixPath = mapInputs (i: "${i}=${channelPath i}"); - }; -} -- cgit v1.2.3