Refactor home modules and update configs
- Remove unused `pkgs` import from hardware and adjust user stateVersion to 25.11 with updated wheel comment. - Split Bash aliases and functions into separate modules and rename `bash.nix` to `bash/default.nix` with imports. - Delete old Bash alias/function files and consolidate them under the new structure. - Simplify `bat.nix` by removing commented style lines. - Increase Cava `frame_rate` from 60 to 144 and clean up legacy color settings. - Refactor Chromium configuration: separate extensions into `extensions.nix` and use a minimal default module. - Replace large Kitty config with minimal enable/module and import `extra-config.nix` and `settings.nix`. - Overhaul Librewolf setup: extract profiles, extensions, search, and settings into dedicated files. - Update home `default.nix` imports to reflect new module paths and remove obsolete references. - Modularize SwayNC by moving settings and style to separate files. - Add explicit Vesktop package definition. - Remove old VSCode module; introduce VSCodium with profile-based extensions, keybindings, and user settings. - Reorganize XDG portal and desktop entries into modular files. - Rebuild Zed configuration: split user settings, language models, languages, LSP, extensions, and extra packages into distinct files.
This commit is contained in:
42
modules/home/librewolf/profiles/settings.nix
Normal file
42
modules/home/librewolf/profiles/settings.nix
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
lib,
|
||||
host,
|
||||
...
|
||||
}: {
|
||||
programs.librewolf.profiles."${host}".settings = lib.mkForce {
|
||||
# Preferences (about:config)
|
||||
"general.useragent.locale" = "pl";
|
||||
"intl.locale.requested" = "pl,en-US";
|
||||
"intl.accept_languages" = "pl,en-US";
|
||||
|
||||
"extensions.autoDisableScopes" = 0;
|
||||
|
||||
"font.default.x-western" = "FiraCode Nerd Font";
|
||||
"font.name.monospace.x-western" = "FiraCode Nerd Font Mono";
|
||||
"font.name.sans-serif.x-western" = "FiraCode Nerd Font Propo";
|
||||
"font.name.serif.x-western" = "FiraCode Nerd Font";
|
||||
|
||||
"layout.css.prefers-color-scheme.content-override" = 0;
|
||||
"layout.css.font-visibility" = 1;
|
||||
|
||||
"browser.tabs.insertRelatedAfterCurrent" = true;
|
||||
"browser.sessionstore.resume_from_crash" = true;
|
||||
"browser.sessionstore.resume_session_once" = true;
|
||||
"browser.toolbars.bookmarks.visibility" = "never";
|
||||
|
||||
"browser.search.update" = true;
|
||||
|
||||
"sidebar.main.tools" = "history,bookmarks";
|
||||
"sidebar.revamp" = true;
|
||||
"sidebar.verticalTabs" = true;
|
||||
|
||||
"browser.eme.ui.enabled" = true;
|
||||
"media.eme.enabled" = true;
|
||||
|
||||
"privacy.donottrackheader.enabled" = true;
|
||||
"privacy.clearOnShutdown.history" = true;
|
||||
|
||||
"network.trr.mode" = 3;
|
||||
"network.trr.uri" = "https://dns.mullvad.net/dns-query";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user