rework modules

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-06-19 10:22:49 +03:00
parent 422b0551db
commit f3bf120805
15 changed files with 38 additions and 41 deletions

View File

@ -6,10 +6,10 @@
inherit (lib) mkIf mkEnableOption;
in {
options = {
opentabletdriver.enable =
module.misc.opentabletdriver.enable =
mkEnableOption "enables opentabletdriver";
};
config = mkIf config.opentabletdriver.enable {
config = mkIf config.module.misc.opentabletdriver.enable {
hardware.opentabletdriver = {
enable = true;
daemon.enable = true;