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" = {
|
||||
id = 0;
|
||||
|
||||
search.default = "Googlee";
|
||||
search.privateDefault = "Googlee";
|
||||
search.engines = {
|
||||
search = {
|
||||
default = "DuckDuckGoo";
|
||||
privateDefault = "DuckDuckGoo";
|
||||
engines = {
|
||||
"DuckDuckGo".metaData.hidden = true;
|
||||
"Google".metaData.hidden = true;
|
||||
"Amazon.com".metaData.hidden = true;
|
||||
"Bing".metaData.hidden = true;
|
||||
"Wikipedia (en)".metaData.hidden = true;
|
||||
"Startpage" = {
|
||||
urls = [{
|
||||
template = "https://startpage.com/sp/search";
|
||||
params = [
|
||||
{ name = "query"; value = "{searchTerms}"; }
|
||||
];
|
||||
}];
|
||||
definedAliases = [ "@sp" ];
|
||||
};
|
||||
"DuckDuckGoo" = {
|
||||
urls = [{
|
||||
template = "https://duckduckgo.com/";
|
||||
|
@ -106,9 +98,8 @@ in mkIf conf.apps.enable {
|
|||
definedAliases = [ "@gh" ];
|
||||
};
|
||||
};
|
||||
search.force = true;
|
||||
search.order = [
|
||||
"Startpage"
|
||||
force = true;
|
||||
order = [
|
||||
"DuckDuckGoo"
|
||||
"Googlee"
|
||||
"Wikipedia"
|
||||
|
@ -117,6 +108,30 @@ in mkIf conf.apps.enable {
|
|||
"Nix Options"
|
||||
"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 = { };
|
||||
|
||||
|
@ -125,7 +140,6 @@ in mkIf conf.apps.enable {
|
|||
"browser.startup.page" = 3;
|
||||
"extensions.pocket.enabled" = false;
|
||||
"identity.fxaccounts.enabled" = false;
|
||||
"browser.tabs.closeWindowWithLastTab" = false;
|
||||
"browser.bookmarks.addedImportButton" = false;
|
||||
"dom.security.https_only_mode" = true;
|
||||
"browser.newtabpage.enabled" = false;
|
||||
|
@ -137,6 +151,8 @@ in mkIf conf.apps.enable {
|
|||
"browser.translation.enable" = false;
|
||||
"media.cache_readhead_limit" = 9999;
|
||||
"media.cache_resume_threshold" = 9999;
|
||||
"privacy.userContext.newTabContainerOnLeftClick.enabled" = true;
|
||||
"browser.aboutConfig.showWarning" = false;
|
||||
};
|
||||
|
||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
|
@ -147,6 +163,7 @@ in mkIf conf.apps.enable {
|
|||
youtube-nonstop
|
||||
enhancer-for-youtube
|
||||
firefox-color
|
||||
multi-account-containers
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -34,5 +34,10 @@
|
|||
formatter = { command = "clang-format"; args = [ "-style=file" ]; };
|
||||
indent = { tab-width = 8; unit = " "; };
|
||||
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