mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-16 13:28:16 +00:00
22 lines
371 B
Nix
22 lines
371 B
Nix
|
{ config, lib, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
options = {
|
||
|
|
||
|
system.defaults.magicmouse.MouseButtonMode = mkOption {
|
||
|
type = types.nullOr (types.enum [
|
||
|
"OneButton"
|
||
|
"TwoButton"
|
||
|
]);
|
||
|
default = null;
|
||
|
description = ''
|
||
|
"OneButton": any tap is a left click. "TwoButton": allow left-
|
||
|
and right-clicking.
|
||
|
'';
|
||
|
};
|
||
|
|
||
|
};
|
||
|
}
|