A lot of QOL changement, remove Zen, config Qutebrowser, update a lot of things

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-04-18 00:44:22 +02:00
parent 241db5ce7a
commit 9e24c44c53
49 changed files with 4559 additions and 1777 deletions
+17 -22
View File
@@ -1,8 +1,17 @@
{...}: {
imports = [
./bookmarks.nix
./search.nix
./keybindings.nix
./settings.nix
./userscripts.nix
];
home.sessionVariables = {
DEFAULT_BROWSER = "qutebrowser";
BROWSER = "qutebrowser";
};
xdg.mimeApps.defaultApplications = {
"text/html" = ["org.qutebrowser.qutebrowser.desktop"];
"text/xml" = ["org.qutebrowser.qutebrowser.desktop"];
@@ -13,30 +22,16 @@
"x-scheme-handler/qute" = ["org.qutebrowser.qutebrowser.desktop"];
};
xdg.desktopEntries.qutebrowser-private = {
name = "Qutebrowser (Temp session)";
genericName = "Web Browser";
exec = "qutebrowser --temp-basedir %U";
icon = "qutebrowser";
categories = ["Network" "WebBrowser"];
};
programs.qutebrowser = {
enable = true;
loadAutoconfig = true;
searchEngines = rec {
startpage = "https://www.startpage.com/sp/search?q={}";
mynixos = "https://mynixos.com/search?q={}";
duckduckgo = "https://duckduckgo.com/?q={}";
google = "https://google.com/search?hl=en&q={}";
yandex = "https://yandex.com/search/?text={}";
bing = "https://bing.com/search?q={}";
# shortcuts
g = google;
n = mynixos;
DEFAULT = startpage;
};
quickmarks = import ./quickmarks.nix;
settings = {
url = rec {
default_page = "https://www.startpage.com";
start_pages = [default_page];
};
new_instance_open_target = "window";
};
};
}