about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
Diffstat (limited to 'machines')
-rw-r--r--machines/profpatsch/patches/searx-rm-soundcloud.patch15
-rw-r--r--machines/profpatsch/patches/searx-secret-key.patch (renamed from machines/profpatsch/patches/searx_secret_key.patch)0
-rw-r--r--machines/profpatsch/pkgs.nix5
3 files changed, 19 insertions, 1 deletions
diff --git a/machines/profpatsch/patches/searx-rm-soundcloud.patch b/machines/profpatsch/patches/searx-rm-soundcloud.patch
new file mode 100644
index 00000000..35b427b9
--- /dev/null
+++ b/machines/profpatsch/patches/searx-rm-soundcloud.patch
@@ -0,0 +1,15 @@
+diff --git a/searx/settings.yml b/searx/settings.yml
+index 053cb44..48a542b 100644
+--- a/searx/settings.yml
++++ b/searx/settings.yml
+@@ -437,10 +437,6 @@ engines:
+     engine : scanr_structures
+     disabled : True
+ 
+-  - name : soundcloud
+-    engine : soundcloud
+-    shortcut : sc
+-
+   - name : stackoverflow
+     engine : stackoverflow
+     shortcut : st
diff --git a/machines/profpatsch/patches/searx_secret_key.patch b/machines/profpatsch/patches/searx-secret-key.patch
index f7ff9fe5..f7ff9fe5 100644
--- a/machines/profpatsch/patches/searx_secret_key.patch
+++ b/machines/profpatsch/patches/searx-secret-key.patch
diff --git a/machines/profpatsch/pkgs.nix b/machines/profpatsch/pkgs.nix
index 45ce34f4..a220aed4 100644
--- a/machines/profpatsch/pkgs.nix
+++ b/machines/profpatsch/pkgs.nix
@@ -65,7 +65,10 @@ let
   xmpp-client = pkgs.callPackage (import ./xmpp-client.nix myLib.philip.home "irc/xmppOla.wtf") { inherit (pkgs) xmpp-client; };
 
   searx = pkgs.pythonPackages.searx.overrideDerivation (old: {
-    patches = old.patches or [] ++ [ ./patches/searx_secret_key.patch ];
+    patches = old.patches or [] ++ [
+      ./patches/searx-secret-key.patch
+      ./patches/searx-rm-soundcloud.patch
+    ];
   });
 
   # A ghci with some sane default packages in scope, & hoogle