diff --git a/lib/module/default.nix b/lib/module/default.nix index f0cf18c..b03c1c6 100644 --- a/lib/module/default.nix +++ b/lib/module/default.nix @@ -1,6 +1,5 @@ { lib, - self, ... }: { @@ -16,21 +15,4 @@ inherit default description; type = lib.types.bool; }; - - # Create a module compliant with the NixOS module system. - mkModule = - { - name ? "puzzlevision", - class, - modules, - }: - { - _class = class; - # Template: "[path-to-flake]/flake.nix#[class-name]Modules.[module-name]" - # Example: "[path-to-flake]/flake.nix#nixosModules.system.audio" - _file = "${self.outPath}/flake.nix#${class}Modules.${name}"; - imports = modules; - }; - - # TODO: add mkIfElse function }