correct shellAlias

This commit is contained in:
DACHXY 2024-12-31 12:33:21 +08:00
parent d54c4da55e
commit 21845210dd
3 changed files with 42 additions and 29 deletions

View file

@ -1,4 +1,8 @@
{ pkgs, ... }: {
{ pkgs, ... }:
let
userChrome = builtins.readFile ../config/firefox/autohide_toolbox.css;
in
{
programs = {
neovim = {
enable = true;
@ -21,33 +25,42 @@
];
};
firefox.profiles.danny.settings = {
# about:config
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
"extensions.activeThemeID" = "firefox-compact-dark@mozilla.org";
"font.language.group" = "zh-TW";
"font.name.sans-serif.ja" = "Noto Sans CJK JP";
"font.name.sans-serif.zh-TW" = "Noto Sans CJK TC";
"font.name.serif.ja" = "Noto Serif CJK JP";
"font.name.serif.zh-TW" = "Noto Serif CJK TC";
"font.name.monospace.ja" = "Noto Sans Mono CJK JP";
"font.name.monospace.x-western" = "CaskaydiaCove Nerd Font Mono";
"font.name.monospace.zh-TW" = "Noto Sans Mono CJK TC";
};
firefox = {
enable = true;
# firefox = {
# enable = true;
# languagePacks = [
# "en-US"
# "zh-TW"
# "ja"
# ];
#
# policies = {
# DontCheckDefaultBrowser = true;
# DisplayBookmarksToolbar = "never";
# };
# };
profiles.default = {
id = 0;
name = "default";
isDefault = true;
userChrome = userChrome;
settings = {
# about:config
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
"extensions.activeThemeID" = "firefox-compact-dark@mozilla.org";
"font.language.group" = "zh-TW";
"font.name.sans-serif.ja" = "Noto Sans CJK JP";
"font.name.sans-serif.zh-TW" = "Noto Sans CJK TC";
"font.name.serif.ja" = "Noto Serif CJK JP";
"font.name.serif.zh-TW" = "Noto Serif CJK TC";
"font.name.monospace.ja" = "Noto Sans Mono CJK JP";
"font.name.monospace.x-western" = "CaskaydiaCove Nerd Font Mono";
"font.name.monospace.zh-TW" = "Noto Sans Mono CJK TC";
};
languagePacks = [
"en-US"
"zh-TW"
"ja"
];
policies = {
DontCheckDefaultBrowser = true;
DisplayBookmarksToolbar = "never";
};
};
};
};
}