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 = {
|
||||
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
|
||||
];
|
||||
|
|
|
@ -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 = [
|
||||
{
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue