Update Kagi
This commit is contained in:
parent
0709cf7e33
commit
0dca966aa8
3 changed files with 14 additions and 30 deletions
|
@ -23,14 +23,15 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# https://nur.nix-community.org/repos/rycee/
|
# https://nur.nix-community.org/repos/rycee/
|
||||||
extensions = with pkgs.nur.repos; [
|
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||||
rycee.firefox-addons.darkreader
|
darkreader
|
||||||
rycee.firefox-addons.ublock-origin
|
ublock-origin
|
||||||
rycee.firefox-addons.privacy-redirect
|
privacy-redirect
|
||||||
rycee.firefox-addons.link-cleaner
|
link-cleaner
|
||||||
rycee.firefox-addons.adnauseam
|
adnauseam
|
||||||
rycee.firefox-addons.sponsorblock
|
sponsorblock
|
||||||
rycee.firefox-addons.multi-account-containers
|
multi-account-containers
|
||||||
|
kagi-search
|
||||||
];
|
];
|
||||||
|
|
||||||
containersForce = true;
|
containersForce = true;
|
||||||
|
@ -68,31 +69,20 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
search = {
|
search = {
|
||||||
default = "Ecosia";
|
default = "Kagi";
|
||||||
privateDefault = "Ecosia";
|
privateDefault = "Kagi";
|
||||||
force = true;
|
force = true;
|
||||||
order = [ "Ecosia" ];
|
order = [ "Kagi" ];
|
||||||
engines = {
|
engines = {
|
||||||
"Kagi" = {
|
"Kagi" = {
|
||||||
urls = [{
|
urls = [{
|
||||||
template = "https://kagi.com/search";
|
template = "https://kagi.com/search";
|
||||||
params = [
|
params = [
|
||||||
{ name = "token"; value = builtins.readFile /var/run/secrets/kagi_key; }
|
|
||||||
{ name = "q"; value = "{searchTerms}"; }
|
{ name = "q"; value = "{searchTerms}"; }
|
||||||
];
|
];
|
||||||
}];
|
}];
|
||||||
definedAliases = [ "@k" ];
|
definedAliases = [ "@k" ];
|
||||||
};
|
};
|
||||||
"Ecosia" = {
|
|
||||||
urls = [{
|
|
||||||
template = "https://www.ecosia.org/search";
|
|
||||||
params = [
|
|
||||||
{ name = "method"; value = "index"; }
|
|
||||||
{ name = "q"; value = "{searchTerms}"; }
|
|
||||||
];
|
|
||||||
}];
|
|
||||||
definedAliases = [ "@ec" ];
|
|
||||||
};
|
|
||||||
"Nix Packages" = {
|
"Nix Packages" = {
|
||||||
urls = [{
|
urls = [{
|
||||||
template = "https://search.nixos.org/packages";
|
template = "https://search.nixos.org/packages";
|
||||||
|
|
|
@ -44,11 +44,6 @@ in {
|
||||||
owner = "albert";
|
owner = "albert";
|
||||||
};
|
};
|
||||||
|
|
||||||
sops.secrets."kagi_token" = {
|
|
||||||
sopsFile = ../../../secrets/users/albert.yaml;
|
|
||||||
owner = "albert";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Make this user trusted
|
# Make this user trusted
|
||||||
nix.settings.trusted-users = [ "albert" ];
|
nix.settings.trusted-users = [ "albert" ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,14 +1,13 @@
|
||||||
email_password: ENC[AES256_GCM,data:8gSaWe8MVQzd2cm+bqWI0jKhHzWLBe16gXj7+Ymxxj7Yq6eGwYeR+/Pgr5MdYL/Bw8GHZiM6lFticfFBGZcu9ar7tnDjLoI10EuflyvJkxc6pH1cFm4lvI9Y39j3Fc7TOf9EpX5NS74wTyiqAt4jC+sx1p+Uq3mbv6QZzMsI4Qo=,iv:SCpuPI5pd+wnKLrqTwlJkJsnPuOF0l6M92YtsdrwzxA=,tag:kTfu+JfqVIRCzwQhP/7eng==,type:str]
|
email_password: ENC[AES256_GCM,data:8gSaWe8MVQzd2cm+bqWI0jKhHzWLBe16gXj7+Ymxxj7Yq6eGwYeR+/Pgr5MdYL/Bw8GHZiM6lFticfFBGZcu9ar7tnDjLoI10EuflyvJkxc6pH1cFm4lvI9Y39j3Fc7TOf9EpX5NS74wTyiqAt4jC+sx1p+Uq3mbv6QZzMsI4Qo=,iv:SCpuPI5pd+wnKLrqTwlJkJsnPuOF0l6M92YtsdrwzxA=,tag:kTfu+JfqVIRCzwQhP/7eng==,type:str]
|
||||||
atuin_key: ENC[AES256_GCM,data:0qgmIwr+iTtsZC/XRmvqalz+dtF6QlfewCsWliiKLQnrYMDwQDtTi/x9a+mravCUfU/lMrW+uGP/S9+SaFqhivCR04+lhebVzudhSQ==,iv:noX6V2Cqm1yBL5IKIJkHW3sw9ztlOnxCGWoNIaUizEw=,tag:pb/kyV5KGUv8RjsnaZ5l8w==,type:str]
|
atuin_key: ENC[AES256_GCM,data:0qgmIwr+iTtsZC/XRmvqalz+dtF6QlfewCsWliiKLQnrYMDwQDtTi/x9a+mravCUfU/lMrW+uGP/S9+SaFqhivCR04+lhebVzudhSQ==,iv:noX6V2Cqm1yBL5IKIJkHW3sw9ztlOnxCGWoNIaUizEw=,tag:pb/kyV5KGUv8RjsnaZ5l8w==,type:str]
|
||||||
kagi_token: ENC[AES256_GCM,data:h/89k36+WjblQPnx5zG+PjNo8XuggLhNiXeghXbWFTxuY/wExtutVJKsWNJFBKdVgimKAYwtgg==,iv:eMXIBVZndlbj9k8Hkqm5b/Y+oBJKXi5BCgkx2bE1TOs=,tag:2qFanmK6/S/YROuZCGeUYg==,type:str]
|
|
||||||
sops:
|
sops:
|
||||||
kms: []
|
kms: []
|
||||||
gcp_kms: []
|
gcp_kms: []
|
||||||
azure_kv: []
|
azure_kv: []
|
||||||
hc_vault: []
|
hc_vault: []
|
||||||
age: []
|
age: []
|
||||||
lastmodified: "2024-09-21T11:34:29Z"
|
lastmodified: "2024-09-21T11:49:15Z"
|
||||||
mac: ENC[AES256_GCM,data:ZRNHH78+IXkQGZY93w20cxGNEyv2je4WFIkpNiXQG/bYDtRGLMcwFvW8Gttb2DqyUqncQXjQF0mpnlAG67Mvz/jS9WXaWKmC8PT0JyiOSkyn7mFRrDR/dkLnlf7zZvlqo7Sap/+vXrMvZAnJHwKaMzHGYAqH8MZvn0F8d8LUN3g=,iv:tD/yHbM2HT9uArWVPCHVhmZ7BopuMs58P+U6ciPB9FU=,tag:SeI4uninsijvRNBSzAH7ow==,type:str]
|
mac: ENC[AES256_GCM,data:JebqGQG2NojvtYRO0ziWYP9qKz75ICgCzk+QMnNU+kIg3xDVpg4AUvF8vUJui2OvpbSde5kbN4SylOV2cPEPn2h8388TCAQnn0OkGmZj1x3TFWdU/DOvgJao0VYNlCiqwx5rqCJyWL+DnowoT3gOH5lkRljT2DfDx71bsaFO/co=,iv:tELF18Ss/6nQM4xLzSaJm1Lh+iYbTljkJuY2+kldYRg=,tag:BCTNYYyyFDV+OOk5lelYBw==,type:str]
|
||||||
pgp:
|
pgp:
|
||||||
- created_at: "2024-07-27T04:10:19Z"
|
- created_at: "2024-07-27T04:10:19Z"
|
||||||
enc: |-
|
enc: |-
|
||||||
|
|
Loading…
Reference in a new issue