firefox and typst conifg
This commit is contained in:
parent
e5b0bd046d
commit
035d73e16c
2 changed files with 124 additions and 102 deletions
|
@ -10,23 +10,15 @@ in mkIf conf.apps.enable {
|
||||||
"default" = {
|
"default" = {
|
||||||
id = 0;
|
id = 0;
|
||||||
|
|
||||||
search.default = "Googlee";
|
search = {
|
||||||
search.privateDefault = "Googlee";
|
default = "DuckDuckGoo";
|
||||||
search.engines = {
|
privateDefault = "DuckDuckGoo";
|
||||||
|
engines = {
|
||||||
"DuckDuckGo".metaData.hidden = true;
|
"DuckDuckGo".metaData.hidden = true;
|
||||||
"Google".metaData.hidden = true;
|
"Google".metaData.hidden = true;
|
||||||
"Amazon.com".metaData.hidden = true;
|
"Amazon.com".metaData.hidden = true;
|
||||||
"Bing".metaData.hidden = true;
|
"Bing".metaData.hidden = true;
|
||||||
"Wikipedia (en)".metaData.hidden = true;
|
"Wikipedia (en)".metaData.hidden = true;
|
||||||
"Startpage" = {
|
|
||||||
urls = [{
|
|
||||||
template = "https://startpage.com/sp/search";
|
|
||||||
params = [
|
|
||||||
{ name = "query"; value = "{searchTerms}"; }
|
|
||||||
];
|
|
||||||
}];
|
|
||||||
definedAliases = [ "@sp" ];
|
|
||||||
};
|
|
||||||
"DuckDuckGoo" = {
|
"DuckDuckGoo" = {
|
||||||
urls = [{
|
urls = [{
|
||||||
template = "https://duckduckgo.com/";
|
template = "https://duckduckgo.com/";
|
||||||
|
@ -106,9 +98,8 @@ in mkIf conf.apps.enable {
|
||||||
definedAliases = [ "@gh" ];
|
definedAliases = [ "@gh" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
search.force = true;
|
force = true;
|
||||||
search.order = [
|
order = [
|
||||||
"Startpage"
|
|
||||||
"DuckDuckGoo"
|
"DuckDuckGoo"
|
||||||
"Googlee"
|
"Googlee"
|
||||||
"Wikipedia"
|
"Wikipedia"
|
||||||
|
@ -117,6 +108,30 @@ in mkIf conf.apps.enable {
|
||||||
"Nix Options"
|
"Nix Options"
|
||||||
"Github"
|
"Github"
|
||||||
];
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
containers = {
|
||||||
|
personal = {
|
||||||
|
color = "purple";
|
||||||
|
icon = "fingerprint";
|
||||||
|
id = 1;
|
||||||
|
};
|
||||||
|
student = {
|
||||||
|
color = "turquoise";
|
||||||
|
icon = "circle";
|
||||||
|
id = 2;
|
||||||
|
};
|
||||||
|
work = {
|
||||||
|
color = "yellow";
|
||||||
|
icon = "briefcase";
|
||||||
|
id = 3;
|
||||||
|
};
|
||||||
|
shopping = {
|
||||||
|
color = "green";
|
||||||
|
icon = "cart";
|
||||||
|
id = 4;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
bookmarks = { };
|
bookmarks = { };
|
||||||
|
|
||||||
|
@ -125,7 +140,6 @@ in mkIf conf.apps.enable {
|
||||||
"browser.startup.page" = 3;
|
"browser.startup.page" = 3;
|
||||||
"extensions.pocket.enabled" = false;
|
"extensions.pocket.enabled" = false;
|
||||||
"identity.fxaccounts.enabled" = false;
|
"identity.fxaccounts.enabled" = false;
|
||||||
"browser.tabs.closeWindowWithLastTab" = false;
|
|
||||||
"browser.bookmarks.addedImportButton" = false;
|
"browser.bookmarks.addedImportButton" = false;
|
||||||
"dom.security.https_only_mode" = true;
|
"dom.security.https_only_mode" = true;
|
||||||
"browser.newtabpage.enabled" = false;
|
"browser.newtabpage.enabled" = false;
|
||||||
|
@ -137,6 +151,8 @@ in mkIf conf.apps.enable {
|
||||||
"browser.translation.enable" = false;
|
"browser.translation.enable" = false;
|
||||||
"media.cache_readhead_limit" = 9999;
|
"media.cache_readhead_limit" = 9999;
|
||||||
"media.cache_resume_threshold" = 9999;
|
"media.cache_resume_threshold" = 9999;
|
||||||
|
"privacy.userContext.newTabContainerOnLeftClick.enabled" = true;
|
||||||
|
"browser.aboutConfig.showWarning" = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||||
|
@ -147,6 +163,7 @@ in mkIf conf.apps.enable {
|
||||||
youtube-nonstop
|
youtube-nonstop
|
||||||
enhancer-for-youtube
|
enhancer-for-youtube
|
||||||
firefox-color
|
firefox-color
|
||||||
|
multi-account-containers
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -34,5 +34,10 @@
|
||||||
formatter = { command = "clang-format"; args = [ "-style=file" ]; };
|
formatter = { command = "clang-format"; args = [ "-style=file" ]; };
|
||||||
indent = { tab-width = 8; unit = " "; };
|
indent = { tab-width = 8; unit = " "; };
|
||||||
file-types = [ "cpp" "hpp" ];
|
file-types = [ "cpp" "hpp" ];
|
||||||
|
} {
|
||||||
|
name = "typst";
|
||||||
|
auto-format = true;
|
||||||
|
formatter = { command = "typstfmt"; };
|
||||||
|
file-types = [ "typ" ];
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue