feat(drawing-tablet): init module
This commit is contained in:
1 parent
955882a2cf
commit
5727d478d0
4 files changed
+40
-7
No files matched your search
@@ -0,0 +1,16 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let cfg = config.sydnix.drawing-tablet;
|
||||
in {
|
||||
options.sydnix.drawing-tablet = {
|
||||
enable = lib.mkEnableOption "drawing tablet support";
|
||||
};
|
||||
|
||||
# Also see the home-manager module!!
|
||||
config = lib.mkIf cfg.enable {
|
||||
hardware.opentabletdriver = {
|
||||
enable = true;
|
||||
daemon.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user