firefox: add kagi
yuki: disabled searxng system: more fmt flake.nix: readd alejandra
This commit is contained in:
parent
80291272dc
commit
ef0bbb9604
4 changed files with 29 additions and 9 deletions
|
@ -65,7 +65,7 @@
|
||||||
};
|
};
|
||||||
prettier = {
|
prettier = {
|
||||||
enable = true;
|
enable = true;
|
||||||
files = "\\.(js|ts|md)$";
|
files = "\\.(js|ts|md|json)$";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -76,6 +76,7 @@
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
git
|
git
|
||||||
sops
|
sops
|
||||||
|
alejandra
|
||||||
yaml-language-server
|
yaml-language-server
|
||||||
lua-language-server
|
lua-language-server
|
||||||
];
|
];
|
||||||
|
|
|
@ -48,9 +48,23 @@
|
||||||
};
|
};
|
||||||
extraConfig = builtins.readFile ./user.js/betterfox.js;
|
extraConfig = builtins.readFile ./user.js/betterfox.js;
|
||||||
search = {
|
search = {
|
||||||
default = "SearXNG";
|
default = "Kagi";
|
||||||
force = true;
|
force = true;
|
||||||
engines = {
|
engines = {
|
||||||
|
"Kagi" = {
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://kagi.com/search";
|
||||||
|
params = [
|
||||||
|
{
|
||||||
|
name = "q";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
definedAliases = ["@g"];
|
||||||
|
};
|
||||||
"SearXNG" = {
|
"SearXNG" = {
|
||||||
urls = [
|
urls = [
|
||||||
{
|
{
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
networking.firewall.allowedTCPPorts = [8100];
|
networking.firewall.allowedTCPPorts = [8100];
|
||||||
services.searx = {
|
services.searx = {
|
||||||
package = pkgs.searxng;
|
package = pkgs.searxng;
|
||||||
enable = true;
|
enable = false;
|
||||||
runInUwsgi = false;
|
runInUwsgi = false;
|
||||||
environmentFile = config.sops.secrets.searxng-secret.path;
|
environmentFile = config.sops.secrets.searxng-secret.path;
|
||||||
limiterSettings = {
|
limiterSettings = {
|
||||||
|
|
|
@ -34,11 +34,16 @@
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
systemd.services.systemd-udevd.restartIfChanged = false;
|
systemd = {
|
||||||
systemd.extraConfig = ''
|
services.systemd-udevd.restartIfChanged = false;
|
||||||
DefaultTimeoutStopSec=10s
|
|
||||||
'';
|
|
||||||
|
|
||||||
system.autoUpgrade.enable = false;
|
extraConfig = ''
|
||||||
system.stateVersion = "23.05"; # no touchy
|
DefaultTimeoutStopSec=10s
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
system = {
|
||||||
|
autoUpgrade.enable = false;
|
||||||
|
stateVersion = "23.05"; # no touchy
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue