This commit is contained in:
4DBug
2026-02-08 14:15:04 -06:00
parent 6e0a35e990
commit 975c4bb860
5 changed files with 27 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
imports = [
./modules/syncthing.nix
] ++ (if device == "server" then [
] else [
./modules/stylix.nix
#./modules/firefox.nix

View File

@@ -31,6 +31,8 @@
#./modules/firefox.nix
]) ++ (if device == "laptop" then [
./modules/mpd.nix
] else []) ++ (if device == "desktop" then [
./modules/openrgb.nix
] else []);
system = {

19
modules/openrgb.nix Normal file
View File

@@ -0,0 +1,19 @@
{ 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

@@ -6,9 +6,11 @@
redisCreateLocally = true;
settings.server = {
bind_address = "::1";
bind_address = "127.0.0.1";
port = 8080;
port = 1025;
};
environmentFile = "/home/bug/nix/modules/searxng_key";
};
}

1
modules/searxng_key Normal file
View File

@@ -0,0 +1 @@
SEARXNG_SECRET=test