diff options
| author | Moritz Rumpf <moritz.rumpf@gmail.com> | 2024-02-28 14:44:09 +0100 |
|---|---|---|
| committer | Moritz Rumpf <moritz.rumpf@gmail.com> | 2024-02-29 08:45:54 +0100 |
| commit | 2ffb75f9423eb85c4ba5fa043b356f83e0586163 (patch) | |
| tree | ca19064bc3cf9ee700e7c81150b0fe8e66385db4 /modules/system | |
| parent | 283d59778e6b8c41cac4bdeac5b2512d6de51150 (diff) | |
defaults: Add options for dragOnGesture feature
This is just a rebased version of https://github.com/LnL7/nix-darwin/pull/513
Credit to @2gn
Diffstat (limited to 'modules/system')
| -rw-r--r-- | modules/system/defaults/NSGlobalDomain.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/system/defaults/NSGlobalDomain.nix b/modules/system/defaults/NSGlobalDomain.nix index 4f08d4a..3a18de6 100644 --- a/modules/system/defaults/NSGlobalDomain.nix +++ b/modules/system/defaults/NSGlobalDomain.nix @@ -225,6 +225,14 @@ in { ''; }; + system.defaults.NSGlobalDomain.NSWindowShouldDragOnGesture = mkOption { + type = types.nullOr types.bool; + default = null; + description = '' + Whether to enable moving window by holding anywhere on it like on Linux. The default is false. + ''; + }; + system.defaults.NSGlobalDomain.InitialKeyRepeat = mkOption { type = types.nullOr types.int; default = null; |
