diff options
| author | seth <[email protected]> | 2023-05-17 02:24:49 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-17 02:24:49 -0400 |
| commit | e727e435f50027c30d3311020c64ead42c146d66 (patch) | |
| tree | 4701ed802f868704655cd24c2f0ac98291acb654 /modules/flake/flakeModules.nix | |
| parent | 150bf82391638a4ea6a514fbd4704bb62ab22eb6 (diff) | |
flake-modules: remove flakeModule
it already exists https://flake.parts/options/flake-parts-flakemodules
Diffstat (limited to 'modules/flake/flakeModules.nix')
| -rw-r--r-- | modules/flake/flakeModules.nix | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/modules/flake/flakeModules.nix b/modules/flake/flakeModules.nix deleted file mode 100644 index 8c27e9f..0000000 --- a/modules/flake/flakeModules.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ - self, - lib, - flake-parts-lib, - ... -}: let - inherit (lib) mapAttrs mkOption types; - inherit (flake-parts-lib) mkSubmoduleOptions; -in { - options = { - flake = mkSubmoduleOptions { - flakeModules = mkOption { - type = types.lazyAttrsOf types.unspecified; - default = {}; - apply = mapAttrs (k: v: { - _file = "${toString self.outPath}/flake.nix#flakeModules.${k}"; - imports = [v]; - }); - description = '' - flake-parts modules - ''; - }; - }; - }; -} |
