fmt and fix
This commit is contained in:
parent
8a0b4856c4
commit
4ae9716a95
1 changed files with 29 additions and 20 deletions
|
|
@ -1,13 +1,22 @@
|
|||
{ pkgs, lib, config, ... }: {
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
||||
# Install firefox.
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
languagePacks = [ "ja" "tr" "en-US" ];
|
||||
languagePacks = [
|
||||
"ja"
|
||||
"tr"
|
||||
"en-US"
|
||||
];
|
||||
|
||||
# profiles.osbm = {
|
||||
|
||||
|
||||
# Check about:policies#documentation for options.
|
||||
policies = {
|
||||
DisableTelemetry = true;
|
||||
|
|
@ -29,15 +38,18 @@
|
|||
DisplayBookmarksToolbar = "always"; # alternatives: "never" or "newtab"
|
||||
# DisplayMenuBar = "default-off"; # alternatives: "always", "never" or "default-on"
|
||||
# SearchBar = "unified"; # alternat
|
||||
ExtensionSettings = with builtins;
|
||||
let extension = shortId: uuid: {
|
||||
ExtensionSettings =
|
||||
with builtins;
|
||||
let
|
||||
extension = shortId: uuid: {
|
||||
name = uuid;
|
||||
value = {
|
||||
install_url = "https://addons.mozilla.org/en-US/firefox/downloads/latest/${shortId}/latest.xpi";
|
||||
installation_mode = "normal_installed";
|
||||
};
|
||||
};
|
||||
in listToAttrs [
|
||||
in
|
||||
listToAttrs [
|
||||
(extension "tree-style-tab" "treestyletab@piro.sakura.ne.jp")
|
||||
# (extension "ublock-origin" "uBlock0@raymondhill.net")
|
||||
(extension "bitwarden-password-manager" "{446900e4-71c2-419f-a6a7-df9c091e268b}")
|
||||
|
|
@ -53,8 +65,5 @@
|
|||
# `jq .applications.gecko.id manifest.json` to get the UUID
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue