browsers ugh
This commit is contained in:
parent
9f62d987ae
commit
15c198fa72
6 changed files with 110 additions and 32 deletions
36
modules/home/browsers.nix
Normal file
36
modules/home/browsers.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
let
|
||||
firefox-policies = {
|
||||
AutofillAddressEnabled = true;
|
||||
AutofillCreditCardEnabled = false;
|
||||
DisableAppUpdate = true;
|
||||
DisableFeedbackCommands = true;
|
||||
DisableFirefoxStudies = true;
|
||||
DisablePocket = true; # save webs for later reading
|
||||
DisableTelemetry = true;
|
||||
DontCheckDefaultBrowser = true;
|
||||
NoDefaultBookmarks = true;
|
||||
OfferToSaveLogins = false;
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
imports = [ inputs.zen-browser.homeModules.twilight ];
|
||||
|
||||
programs = {
|
||||
zen-browser = {
|
||||
enable = true;
|
||||
policies = firefox-policies;
|
||||
};
|
||||
|
||||
librewolf = {
|
||||
enable = true;
|
||||
policies = firefox-policies;
|
||||
};
|
||||
|
||||
chromium = {
|
||||
enable = true;
|
||||
package = pkgs.ungoogled-chromium;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -10,6 +10,7 @@
|
|||
hyprlock
|
||||
hypridle
|
||||
sway-launcher-desktop
|
||||
browsers
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
@ -74,7 +75,7 @@
|
|||
impression
|
||||
zoom-us
|
||||
nyxt
|
||||
ungoogled-chromium
|
||||
|
||||
obsidian
|
||||
vlc
|
||||
discord
|
||||
|
@ -120,7 +121,7 @@
|
|||
protonplus
|
||||
fstl
|
||||
|
||||
librewolf
|
||||
# librewolf
|
||||
|
||||
wl-color-picker
|
||||
|
||||
|
|
|
@ -286,8 +286,8 @@ in
|
|||
action = spawn "emacsclient" "-r" "-n";
|
||||
};
|
||||
"Mod+Ctrl+B" = {
|
||||
hotkey-overlay.title = "Librewolf Browser";
|
||||
action = spawn "librewolf";
|
||||
hotkey-overlay.title = "Zen Browser";
|
||||
action = spawn "zen";
|
||||
};
|
||||
"Mod+Ctrl+F" = {
|
||||
hotkey-overlay.title = "Yazi";
|
||||
|
|
|
@ -142,8 +142,6 @@
|
|||
{ name = "*.rst"; run = "rich-preview"; }
|
||||
{ name = "*.ipynb"; run = "rich-preview"; }
|
||||
{ name = "*.json"; run = "rich-preview"; }
|
||||
# { name = "*.lisp"; run = "rich-preview"; }
|
||||
# { name = "*.el"; run = "rich-preview"; }
|
||||
{ name = "*.org"; run = "rich-preview"; }
|
||||
];
|
||||
append_previewers = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue