- niri + noctalia dotfiles are now manually symlinked - zsh being extremely slow is fixed - stylix is now used for easier themeing of apps
112 lines
2.7 KiB
Nix
112 lines
2.7 KiB
Nix
{
|
|
pkgs,
|
|
inputs,
|
|
...
|
|
}: let
|
|
firefox-addons = with pkgs; inputs.firefox-addons.packages.${system};
|
|
in {
|
|
imports = [
|
|
inputs.zen-browser.homeModules.beta
|
|
];
|
|
|
|
programs.zen-browser = {
|
|
enable = true;
|
|
setAsDefaultBrowser = true;
|
|
nativeMessagingHosts = [ pkgs.firefoxpwa ];
|
|
policies = {
|
|
AIControls.Default = {
|
|
Value = "blocked";
|
|
Locked = true;
|
|
};
|
|
AutofillAddressEnabled = false;
|
|
AutofillCreditCardEnabled = false;
|
|
DisableAppUpdate = true;
|
|
DisableFeedbackCommands = true;
|
|
DisableFirefoxStudies = true;
|
|
DisablePocket = true;
|
|
DisableTelemetry = true;
|
|
NoDefaultBookmarks = true;
|
|
OfferToSaveLogins = false;
|
|
EnableTrackingProtection = {
|
|
Value = true;
|
|
Locked = true;
|
|
Cryptomining = true;
|
|
Fingerprinting = true;
|
|
};
|
|
Preferences = {
|
|
"browser.startup.homepage" = {
|
|
Value = "about:blank";
|
|
Status = "locked";
|
|
};
|
|
};
|
|
};
|
|
profiles.default = {
|
|
settings = {
|
|
"zen.urlbar.behavior" = "float";
|
|
"zen.welcome-screen.seen" = true;
|
|
};
|
|
extensions.packages = with firefox-addons; [
|
|
adnauseam
|
|
bitwarden
|
|
indie-wiki-buddy
|
|
pwas-for-firefox
|
|
];
|
|
search = {
|
|
force = true;
|
|
default = "ddg";
|
|
engines = {
|
|
nixpkgs = {
|
|
name = "nixpkgs packages";
|
|
urls = [
|
|
{
|
|
template = "https://search.nixos.org/packages?query={searchTerms}";
|
|
}
|
|
];
|
|
icon = "https://wiki.nixos.org/favicon.ico";
|
|
definedAliases = ["@np"];
|
|
};
|
|
nixos-options = {
|
|
name = "NixOS options";
|
|
urls = [
|
|
{
|
|
template = "https://search.nixos.org/options?query={searchTerms}";
|
|
}
|
|
];
|
|
icon = "https://wiki.nixos.org/favicon.ico";
|
|
definedAliases = ["@no"];
|
|
};
|
|
nixos-wiki = {
|
|
name = "NixOS Wiki";
|
|
urls = [
|
|
{
|
|
template = "https://wiki.nixos.org/w/index.php?search={searchTerms}";
|
|
}
|
|
];
|
|
icon = "https://wiki.nixos.org/favicon.ico";
|
|
definedAliases = ["@nw"];
|
|
};
|
|
};
|
|
};
|
|
keyboardShortcuts = [
|
|
{
|
|
id = "key_close";
|
|
key = "q";
|
|
modifiers = {
|
|
control = false;
|
|
alt = true;
|
|
};
|
|
}
|
|
{
|
|
id = "key_newNavigatorTab";
|
|
keycode = "VK_RETURN";
|
|
modifiers = {
|
|
control = false;
|
|
alt = true;
|
|
};
|
|
}
|
|
];
|
|
keyboardShortcutsVersion = 19;
|
|
};
|
|
};
|
|
}
|