From be7903cf0186fdde3bb9dd62672771edf34663b6 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Fri, 3 Feb 2023 11:43:09 +0100 Subject: [PATCH] added qutebrowser --- flake.lock | 12 ++++---- users/rouven/modules/default.nix | 1 + users/rouven/modules/qutebrowser/default.nix | 32 ++++++++++++++++++++ users/rouven/modules/ssh/default.nix | 12 ++++++++ 4 files changed, 51 insertions(+), 6 deletions(-) create mode 100644 users/rouven/modules/qutebrowser/default.nix diff --git a/flake.lock b/flake.lock index cff7ca3..b7fa73d 100644 --- a/flake.lock +++ b/flake.lock @@ -24,11 +24,11 @@ "utils": "utils" }, "locked": { - "lastModified": 1675303228, - "narHash": "sha256-dHJbFg7gTuTyEUdJoNDp6l2bac6HXAT/bz9cVEqL+Uw=", + "lastModified": 1675371293, + "narHash": "sha256-LrCjtrAXj/WJphhGEMnHgZs7oTsfOlvPfOjFTIvg39k=", "owner": "nix-community", "repo": "home-manager", - "rev": "4a958524903e6019f5f69a23e0c0f16e5af01eb0", + "rev": "d1c7730bb707bf8124d997952f7babd2a281ae68", "type": "github" }, "original": { @@ -122,11 +122,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1675183161, - "narHash": "sha256-Zq8sNgAxDckpn7tJo7V1afRSk2eoVbu3OjI1QklGLNg=", + "lastModified": 1675273418, + "narHash": "sha256-tpYc4TEGvDzh9uRf44QemyQ4TpVuUbxb07b2P99XDbM=", "owner": "nixos", "repo": "nixpkgs", - "rev": "e1e1b192c1a5aab2960bf0a0bd53a2e8124fa18e", + "rev": "4d7c2644dbac9cf8282c0afe68fca8f0f3e7b2db", "type": "github" }, "original": { diff --git a/users/rouven/modules/default.nix b/users/rouven/modules/default.nix index e6edc3d..98f6728 100644 --- a/users/rouven/modules/default.nix +++ b/users/rouven/modules/default.nix @@ -9,6 +9,7 @@ ./gpg ./hyprland ./neovim + ./qutebrowser ./ssh ./tmux ./vifm diff --git a/users/rouven/modules/qutebrowser/default.nix b/users/rouven/modules/qutebrowser/default.nix new file mode 100644 index 0000000..75ae565 --- /dev/null +++ b/users/rouven/modules/qutebrowser/default.nix @@ -0,0 +1,32 @@ +{ config, ... }: +{ + programs.qutebrowser = { + enable = true; + searchEngines = { + DEFAULT = "https://duckduckgo.com/?q={}"; + aw = "https://wiki.archlinux.org/?search={}"; + nw = "https://nixos.wiki/index.php?search={}"; + wp = "https://en.wikipedia.org/wiki/Special:Search?search={}"; + y = "http://localhost:8090/yacysearch.html?query={}"; + yt = "https://www.youtube.com/results?search_query={}"; + g = "https://www.google.com/search?hl=en&q={}"; + }; + quickmarks = { + nix-search = "https://search.nixos.org/options?"; + home-search = "https://mipmip.github.io/home-manager-option-search/"; + jexam = "https://jexam.inf.tu-dresden.de"; + opal = "https://bildungsportal.sachsen.de/opal/home?2"; + fruitbasket = "https://github.com/fsr/fruitbasket"; + }; + settings = { + colors.webpage = { + darkmode.enabled = false; + preferred_color_scheme = "dark"; + }; + content.blocking = { + enabled = true; + method = "both"; + }; + }; + }; +} diff --git a/users/rouven/modules/ssh/default.nix b/users/rouven/modules/ssh/default.nix index 20c89b4..9101ce1 100644 --- a/users/rouven/modules/ssh/default.nix +++ b/users/rouven/modules/ssh/default.nix @@ -9,6 +9,18 @@ "rfive.de" = { user = "debian"; }; + "kaki" = { + hostname = "kaki.ifsr.de"; + user = "root"; + }; + "fsr" = { + hostname = "ifsr.de"; + user = "rouven.seifert"; + }; + "quitte" = { + hostname = "quitte.ifsr.de"; + user = "root"; + }; "nuc" = { hostname = "192.168.10.2"; user = "root";