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,7 +25,17 @@
];
};
firefox.profiles.danny.settings = {
firefox = {
enable = true;
profiles.default = {
id = 0;
name = "default";
isDefault = true;
userChrome = userChrome;
settings = {
# about:config
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
"extensions.activeThemeID" = "firefox-compact-dark@mozilla.org";
@ -35,19 +49,18 @@
"font.name.monospace.zh-TW" = "Noto Sans Mono CJK TC";
};
# firefox = {
# enable = true;
# languagePacks = [
# "en-US"
# "zh-TW"
# "ja"
# ];
#
# policies = {
# DontCheckDefaultBrowser = true;
# DisplayBookmarksToolbar = "never";
# };
# };
languagePacks = [
"en-US"
"zh-TW"
"ja"
];
policies = {
DontCheckDefaultBrowser = true;
DisplayBookmarksToolbar = "never";
};
};
};
};
}

View file

@ -17,5 +17,5 @@
# Systemd Boot
setWin = "sudo bootctl set-oneshot auto-windows";
goWin = "sudo bootctl set-oneshot auto-windows && reboot";
goBios = "sudo bootctl set-onshot auto-reboot-to-firmware-setup && reboot";
goBios = "sudo bootctl set-oneshot auto-reboot-to-firmware-setup && reboot";
}

View file

@ -19,7 +19,7 @@ in
home-manager = {
backupFileExtension = "hm-backup";
extraSpecialArgs = { inherit inputs system nix-version cursor-size; };
users = { "danny" = import ../../../home; };
users."danny" = { imports = [ ../../../home ]; };
};
}