Non stop entertainment! The wackiest NixOS configuration to-date. thevoid.cafe/projects/puzzlevision
nixos flake flake-parts dotfiles home-manager nix

🔥 Remove leftover lib methods and TODO

-18
-18
lib/module/default.nix
··· 1 1 { 2 2 lib, 3 - self, 4 3 ... 5 4 }: 6 5 { ··· 16 15 inherit default description; 17 16 type = lib.types.bool; 18 17 }; 19 - 20 - # Create a module compliant with the NixOS module system. 21 - mkModule = 22 - { 23 - name ? "puzzlevision", 24 - class, 25 - modules, 26 - }: 27 - { 28 - _class = class; 29 - # Template: "[path-to-flake]/flake.nix#[class-name]Modules.[module-name]" 30 - # Example: "[path-to-flake]/flake.nix#nixosModules.system.audio" 31 - _file = "${self.outPath}/flake.nix#${class}Modules.${name}"; 32 - imports = modules; 33 - }; 34 - 35 - # TODO: add mkIfElse function 36 18 }