🔥 Remove leftover lib methods and TODO
Some checks failed
Trufflehog: check for exposed secrets / Run trufflehog (push) Has been cancelled
Nix: check for unused code / Run deadnix (push) Has been cancelled
Nix: validate flake / Validate x86_64-linux (push) Has been cancelled

This commit is contained in:
Jo 2025-09-21 21:03:33 +02:00
parent 1eea028fec
commit 616523f884

View file

@ -1,6 +1,5 @@
{ {
lib, lib,
self,
... ...
}: }:
{ {
@ -16,21 +15,4 @@
inherit default description; inherit default description;
type = lib.types.bool; 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
} }