summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorseth <[email protected]>2023-05-17 02:24:49 -0400
committerseth <[email protected]>2023-05-17 02:24:49 -0400
commite727e435f50027c30d3311020c64ead42c146d66 (patch)
tree4701ed802f868704655cd24c2f0ac98291acb654 /modules
parent150bf82391638a4ea6a514fbd4704bb62ab22eb6 (diff)
flake-modules: remove flakeModule
it already exists https://flake.parts/options/flake-parts-flakemodules
Diffstat (limited to 'modules')
-rw-r--r--modules/flake/default.nix1
-rw-r--r--modules/flake/flakeModules.nix25
2 files changed, 0 insertions, 26 deletions
diff --git a/modules/flake/default.nix b/modules/flake/default.nix
index c3de095..8bda4e4 100644
--- a/modules/flake/default.nix
+++ b/modules/flake/default.nix
@@ -1,6 +1,5 @@
_: {
imports = [
- ./flakeModules.nix
./homeConfigurations.nix
];
}
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
- '';
- };
- };
- };
-}