From 616523f88446cea739f9655d442df2bdf984e37d Mon Sep 17 00:00:00 2001 From: Jo Date: Sun, 21 Sep 2025 21:03:33 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Remove=20leftover=20lib=20method?= =?UTF-8?q?s=20and=20TODO?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/module/default.nix | 18 ------------------ 1 file changed, 18 deletions(-) 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 }