All checks were successful
Check Flake / check-flake (push) Successful in 1m11s
16 lines
282 B
Nix
16 lines
282 B
Nix
{ lib, config, pkgs, ... }:
|
|
|
|
let
|
|
cfg = config.de.touchpad;
|
|
in
|
|
{
|
|
options.de.touchpad = {
|
|
enable = lib.mkEnableOption "enable touchpad";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
services.libinput.enable = true;
|
|
services.libinput.touchpad.naturalScrolling = true;
|
|
};
|
|
}
|