mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-10-09 02:50:04 +00:00
🔥 Remove leftover lib methods and TODO
This commit is contained in:
parent
1eea028fec
commit
616523f884
1 changed files with 0 additions and 18 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue