This commit is contained in:
4DBug
2026-02-08 19:06:33 -06:00
parent 975c4bb860
commit 782dfce269
3 changed files with 25 additions and 27 deletions

View File

@@ -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 = {

View File

@@ -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
];
}

View File

@@ -3,14 +3,30 @@
{
services.searx = {
enable = true;
environmentFile = "/home/bug/nix/modules/searxng_key";
redisCreateLocally = true;
settings.server = {
settings = {
server = {
bind_address = "127.0.0.1";
port = 1025;
};
environmentFile = "/home/bug/nix/modules/searxng_key";
general = {
instance_name = "search.bug.tools";
};
engines = {
remove = [
"ahmia"
"torch"
"radio_browser"
"wikidata"
];
};
limiter.enable = false;
};
};
}