Finished the Epiphany config.
Thank you: jtojnar @ NixOS Discourse
This commit is contained in:
67
home.nix
67
home.nix
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# man home-configuration.nix
|
# man home-configuration.nix
|
||||||
|
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# =======================================================================
|
# =======================================================================
|
||||||
@@ -390,40 +390,47 @@
|
|||||||
icon-theme = "Papirus";
|
icon-theme = "Papirus";
|
||||||
};
|
};
|
||||||
|
|
||||||
"org/gnome/epiphany" = { # GNOME Web
|
"org/gnome/epiphany/web" = {
|
||||||
"web/enable-adblock" = true;
|
enable-adblock = true;
|
||||||
"web/enable-popups" = false;
|
enable-popups = false;
|
||||||
"web/ask-on-download" = true;
|
ask-on-download = true;
|
||||||
"web/enable-spell-checking" = true;
|
enable-spell-checking = true;
|
||||||
"web/show-developer-actions" = true;
|
show-developer-actions = true;
|
||||||
"web/enable-itp" = true;
|
enable-itp = true;
|
||||||
"web/enable-website-data-storage" = true;
|
enable-website-data-storage = true;
|
||||||
"web/remember-passwords" = false;
|
remember-passwords = false;
|
||||||
"web/use-gnome-fonts" = false;
|
use-gnome-fonts = false;
|
||||||
"web/monospace-font" = "JetBrainsMono Nerd Font Mono 12";
|
monospace-font = "JetBrainsMono Nerd Font Mono 12";
|
||||||
|
};
|
||||||
|
|
||||||
|
"org/gnome/epiphany" = { # GNOME Web
|
||||||
homepage-url = "about:newtab";
|
homepage-url = "about:newtab";
|
||||||
start-in-incognito-mode = false;
|
start-in-incognito-mode = false;
|
||||||
restore-session-policy = "always";
|
restore-session-policy = "always";
|
||||||
use-google-search-suggestions = false;
|
use-google-search-suggestions = false;
|
||||||
# TODO: Fix search-engine-providers broken code.
|
|
||||||
# search-engine-providers = [
|
search-engine-providers = with lib.hm.gvariant; [
|
||||||
# {
|
[
|
||||||
# url = "https://duckduckgo.com/?q=%s&t=epiphany";
|
(mkDictionaryEntry["url" (mkVariant "https://duckduckgo.com/?q=%s&t=epiphany")])
|
||||||
# bang = "!d";
|
(mkDictionaryEntry["bang" (mkVariant "!d")])
|
||||||
# name = "DuckDuckGo";
|
(mkDictionaryEntry["name" (mkVariant "DuckDuckGo")])
|
||||||
# }
|
]
|
||||||
# # [
|
[
|
||||||
# # url: "https://www.google.com/search?q=%s"
|
(mkDictionaryEntry["url" (mkVariant "https://www.google.com/search?q=%s")])
|
||||||
# # bang: "!g"
|
(mkDictionaryEntry["bang" (mkVariant "!g")])
|
||||||
# # name: "Google"
|
(mkDictionaryEntry["name" (mkVariant "Google")])
|
||||||
# # ]
|
]
|
||||||
# # [
|
[
|
||||||
# # url: "https://search.nixos.org/packages?channel=23.11&from=0&size=50&sort=relevance&type=packages&query=%s"
|
(mkDictionaryEntry["url" (mkVariant "https://search.nixos.org/packages?channel=23.11&from=0&size=50&sort=relevance&type=packages&query=%s")])
|
||||||
# # bang: "!np"
|
(mkDictionaryEntry["bang" (mkVariant "!np")])
|
||||||
# # name: "Nix Packages"
|
(mkDictionaryEntry["name" (mkVariant "Nix Packages")])
|
||||||
# # ]
|
]
|
||||||
# ];
|
[
|
||||||
|
(mkDictionaryEntry["url" (mkVariant "https://www.startpage.com/search?q=%s")])
|
||||||
|
(mkDictionaryEntry["bang" (mkVariant "!s")])
|
||||||
|
(mkDictionaryEntry["name" (mkVariant "StartPage")])
|
||||||
|
]
|
||||||
|
];
|
||||||
|
|
||||||
content-filters = [
|
content-filters = [
|
||||||
"https://easylist-downloads.adblockplus.org/easylist_min_content_blocker.json"
|
"https://easylist-downloads.adblockplus.org/easylist_min_content_blocker.json"
|
||||||
|
|||||||
7
scripts/wine-arch.sh
Normal file
7
scripts/wine-arch.sh
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# INSTALL WINE ON ARCH
|
||||||
|
sudo pacman -S --needed wine-staging giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls \
|
||||||
|
mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse libgpg-error \
|
||||||
|
lib32-libgpg-error alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo \
|
||||||
|
sqlite lib32-sqlite libxcomposite lib32-libxcomposite libxinerama lib32-libgcrypt libgcrypt lib32-libxinerama \
|
||||||
|
ncurses lib32-ncurses ocl-icd lib32-ocl-icd libxslt lib32-libxslt libva lib32-libva gtk3 \
|
||||||
|
lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-icd-loader lib32-vulkan-icd-loader
|
||||||
Reference in New Issue
Block a user