modify firefox hm config
- removed unnecessary imports
This commit is contained in:
parent
aad9334639
commit
70e30c6eb6
1 changed files with 5 additions and 7 deletions
|
@ -5,10 +5,8 @@
|
|||
...
|
||||
}: let
|
||||
user = config.home.username;
|
||||
jellyfinIp = configVars.networking.addresses.jellyfin.ip;
|
||||
jellyfinPort = configVars.networking.addresses.jellyfin.port;
|
||||
bitcoinNodeIp = configVars.networking.addresses.bitcoin-node.ip;
|
||||
mempoolPort = configVars.networking.addresses.bitcoin-node.services.mempool.port;
|
||||
dockerContainerIp = configVars.networking.addresses.docker.ip;
|
||||
in {
|
||||
programs.firefox = {
|
||||
package = pkgs.firefox-bin;
|
||||
|
@ -45,7 +43,7 @@ in {
|
|||
definedAliases = ["@nw"];
|
||||
};
|
||||
"Searx" = {
|
||||
urls = [{template = "http://10.0.10.35:8855/?q={searchTerms}";}];
|
||||
urls = [{template = "http://${dockerContainerIp}:8855/?q={searchTerms}";}];
|
||||
iconUpdateURL = "https://docs.searxng.org/_static/searxng-wordmark.svg";
|
||||
updateInterval = 24 * 60 * 60 * 1000; # every day
|
||||
definedAliases = ["@searx"];
|
||||
|
@ -62,11 +60,11 @@ in {
|
|||
bookmarks = [
|
||||
{
|
||||
name = "Jellyfin";
|
||||
url = "http://${jellyfinIp}:${jellyfinPort}";
|
||||
url = "http://${dockerContainerIp}:8096";
|
||||
}
|
||||
{
|
||||
name = "Mempool";
|
||||
url = "http://${bitcoinNodeIp}:${toString mempoolPort}";
|
||||
url = "http://${bitcoinNodeIp}:4080";
|
||||
}
|
||||
{
|
||||
name = "Nixos Package Search";
|
||||
|
@ -82,7 +80,7 @@ in {
|
|||
"identity.fxaccounts.enabled" = false;
|
||||
"signon.rememberSignons" = false;
|
||||
"browser.compactmode.show" = true;
|
||||
"browser.startup.homepage" = "http://10.0.10.35:8855";
|
||||
"browser.startup.homepage" = "http://${dockerContainerIp}:8855";
|
||||
"browser.search.defaultenginename" = "Searx";
|
||||
"browser.search.order.1" = "Searx";
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue