push
This commit is contained in:
3
main.nix
3
main.nix
@@ -28,11 +28,12 @@
|
|||||||
./modules/swap.nix
|
./modules/swap.nix
|
||||||
./modules/virtualisation.nix
|
./modules/virtualisation.nix
|
||||||
./modules/sshfs.nix
|
./modules/sshfs.nix
|
||||||
|
|
||||||
#./modules/firefox.nix
|
#./modules/firefox.nix
|
||||||
]) ++ (if device == "laptop" then [
|
]) ++ (if device == "laptop" then [
|
||||||
./modules/mpd.nix
|
./modules/mpd.nix
|
||||||
] else []) ++ (if device == "desktop" then [
|
] else []) ++ (if device == "desktop" then [
|
||||||
./modules/openrgb.nix
|
|
||||||
] else []);
|
] else []);
|
||||||
|
|
||||||
system = {
|
system = {
|
||||||
|
|||||||
@@ -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
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -3,14 +3,30 @@
|
|||||||
{
|
{
|
||||||
services.searx = {
|
services.searx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
redisCreateLocally = true;
|
|
||||||
|
|
||||||
settings.server = {
|
|
||||||
bind_address = "127.0.0.1";
|
|
||||||
|
|
||||||
port = 1025;
|
|
||||||
};
|
|
||||||
|
|
||||||
environmentFile = "/home/bug/nix/modules/searxng_key";
|
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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user