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

View file

@ -17,5 +17,5 @@
# Systemd Boot # Systemd Boot
setWin = "sudo bootctl set-oneshot auto-windows"; setWin = "sudo bootctl set-oneshot auto-windows";
goWin = "sudo bootctl set-oneshot auto-windows && reboot"; 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 = { home-manager = {
backupFileExtension = "hm-backup"; backupFileExtension = "hm-backup";
extraSpecialArgs = { inherit inputs system nix-version cursor-size; }; extraSpecialArgs = { inherit inputs system nix-version cursor-size; };
users = { "danny" = import ../../../home; }; users."danny" = { imports = [ ../../../home ]; };
}; };
} }