From 782dfce26948fcbbaaa85e1047aa595378ce7371 Mon Sep 17 00:00:00 2001 From: 4DBug <4DBug@github.com> Date: Sun, 8 Feb 2026 19:06:33 -0600 Subject: [PATCH] push --- main.nix | 3 ++- modules/openrgb.nix | 19 ------------------- modules/searxng.nix | 30 +++++++++++++++++++++++------- 3 files changed, 25 insertions(+), 27 deletions(-) delete mode 100644 modules/openrgb.nix diff --git a/main.nix b/main.nix index cbac344..672ff12 100644 --- a/main.nix +++ b/main.nix @@ -28,11 +28,12 @@ ./modules/swap.nix ./modules/virtualisation.nix ./modules/sshfs.nix + #./modules/firefox.nix ]) ++ (if device == "laptop" then [ ./modules/mpd.nix ] else []) ++ (if device == "desktop" then [ - ./modules/openrgb.nix + ] else []); system = { diff --git a/modules/openrgb.nix b/modules/openrgb.nix deleted file mode 100644 index 89c90b6..0000000 --- a/modules/openrgb.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ config, pkgs, ... }: - -{ - services.hardware.openrgb = { - enable = true; - - motherboard = "intel"; # i9-14900K - }; - - users.users.bug.extraGroups = [ "i2c" ]; - - hardware.i2c.enable = true; - - boot.kernelModules = [ - "i2c-dev" # I2C device access for motherboard RGB - "i2c-i801" # Intel I2C controller (Z790 chipset) - "snd-aloop" # Audio loopback for monitoring - ]; -} \ No newline at end of file diff --git a/modules/searxng.nix b/modules/searxng.nix index 82e9b53..0f9c2af 100644 --- a/modules/searxng.nix +++ b/modules/searxng.nix @@ -3,14 +3,30 @@ { services.searx = { enable = true; - redisCreateLocally = true; - - settings.server = { - bind_address = "127.0.0.1"; - - port = 1025; - }; environmentFile = "/home/bug/nix/modules/searxng_key"; + redisCreateLocally = true; + + settings = { + server = { + bind_address = "127.0.0.1"; + port = 1025; + }; + + general = { + instance_name = "search.bug.tools"; + }; + + engines = { + remove = [ + "ahmia" + "torch" + "radio_browser" + "wikidata" + ]; + }; + + limiter.enable = false; + }; }; } \ No newline at end of file