summaryrefslogtreecommitdiff
path: root/modules/system/defaults-write.nix
diff options
context:
space:
mode:
authorJamie Rolfs <jamie.rolfs@gmail.com>2017-10-03 12:13:51 -0700
committerJamie Rolfs <jamie.rolfs@gmail.com>2017-10-03 14:16:23 -0700
commitcc279e8a044361dbed1cc6330b5db9c60309293e (patch)
tree311f82d40e026becb4c826d17d936ebffc7e890d /modules/system/defaults-write.nix
parent11b0d93c4eabfb7a8cec827517b18d004831d157 (diff)
Write trackpad preferences to non-bluetooth namespace as well
Diffstat (limited to 'modules/system/defaults-write.nix')
-rw-r--r--modules/system/defaults-write.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/system/defaults-write.nix b/modules/system/defaults-write.nix
index 7ad97da..7a5eba4 100644
--- a/modules/system/defaults-write.nix
+++ b/modules/system/defaults-write.nix
@@ -23,7 +23,8 @@ let
LaunchServices = defaultsToList "com.apple.LaunchServices" cfg.LaunchServices;
dock = defaultsToList "com.apple.dock" cfg.dock;
finder = defaultsToList "com.apple.finder" cfg.finder;
- trackpad = defaultsToList "com.apple.driver.AppleBluetoothMultitouch.trackpad" cfg.trackpad;
+ trackpad = defaultsToList "com.apple.AppleMultitouchTrackpad" cfg.trackpad;
+ trackpadBluetooth = defaultsToList "com.apple.driver.AppleBluetoothMultitouch.trackpad" cfg.trackpad;
in
@@ -42,6 +43,7 @@ in
${concatStringsSep "\n" dock}
${concatStringsSep "\n" finder}
${concatStringsSep "\n" trackpad}
+ ${concatStringsSep "\n" trackpadBluetooth}
'';
};