firefox: add kagi

yuki: disabled searxng

system: more fmt

flake.nix: readd alejandra
This commit is contained in:
notohh 2024-02-02 07:53:33 -05:00
parent 80291272dc
commit ef0bbb9604
Signed by: notohh
GPG key ID: BD47506D475EE86D
4 changed files with 29 additions and 9 deletions

View file

@ -65,7 +65,7 @@
};
prettier = {
enable = true;
files = "\\.(js|ts|md)$";
files = "\\.(js|ts|md|json)$";
};
};
};
@ -76,6 +76,7 @@
packages = with pkgs; [
git
sops
alejandra
yaml-language-server
lua-language-server
];

View file

@ -48,9 +48,23 @@
};
extraConfig = builtins.readFile ./user.js/betterfox.js;
search = {
default = "SearXNG";
default = "Kagi";
force = true;
engines = {
"Kagi" = {
urls = [
{
template = "https://kagi.com/search";
params = [
{
name = "q";
value = "{searchTerms}";
}
];
}
];
definedAliases = ["@g"];
};
"SearXNG" = {
urls = [
{

View file

@ -7,7 +7,7 @@
networking.firewall.allowedTCPPorts = [8100];
services.searx = {
package = pkgs.searxng;
enable = true;
enable = false;
runInUwsgi = false;
environmentFile = config.sops.secrets.searxng-secret.path;
limiterSettings = {

View file

@ -34,11 +34,16 @@
boot.kernelPackages = pkgs.linuxPackages_latest;
systemd.services.systemd-udevd.restartIfChanged = false;
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';
systemd = {
services.systemd-udevd.restartIfChanged = false;
system.autoUpgrade.enable = false;
system.stateVersion = "23.05"; # no touchy
extraConfig = ''
DefaultTimeoutStopSec=10s
'';
};
system = {
autoUpgrade.enable = false;
stateVersion = "23.05"; # no touchy
};
}