summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2020-01-13 18:26:14 +0100
committerAlan Pearce2020-01-13 18:26:47 +0100
commit7b279e780097ef414ff716b35fe9c62b93b32a81 (patch)
treed9ff5fda7d4b9a3fb05e1e1adb22b28fd7c173ea
parent4ab7cc1abc1996ce49c7e583be7054e14ef16af7 (diff)
downloadnixfiles-7b279e780097ef414ff716b35fe9c62b93b32a81.tar.lz
nixfiles-7b279e780097ef414ff716b35fe9c62b93b32a81.tar.zst
nixfiles-7b279e780097ef414ff716b35fe9c62b93b32a81.zip
TabNine: Enable local ML-based completions except on satoshipad
-rw-r--r--user/satoshipad.nix1
-rw-r--r--user/settings/tabnine.nix2
2 files changed, 2 insertions, 1 deletions
diff --git a/user/satoshipad.nix b/user/satoshipad.nix
index 9388122b..e09c79ea 100644
--- a/user/satoshipad.nix
+++ b/user/satoshipad.nix
@@ -27,6 +27,7 @@
 
   home.sessionVariables.EMAIL = "alan@satoshipay.io";
   home.sessionVariables.BROWSER = "firefox-devedition";
+  programs.tabnine.config.local_enabled = "No";
 
   xsession.windowManager.i3 = {
     config = {
diff --git a/user/settings/tabnine.nix b/user/settings/tabnine.nix
index 2e20873d..200b91a8 100644
--- a/user/settings/tabnine.nix
+++ b/user/settings/tabnine.nix
@@ -34,7 +34,7 @@ in {
       api_key = null;
       api_key_service_level = null;
       api_base_url = null;
-      local_enabled = "No";
+      local_enabled = "Yes";
       disable_local_when_using_battery = true;
       hide_deep_information_message = false;
       enable_power_saving_mode = false;