schizofox working & update alias

This commit is contained in:
vali 2024-04-10 21:37:26 +02:00
commit 411c194d0f
3 changed files with 14 additions and 16 deletions

View file

@ -23,6 +23,7 @@ in {
lazygit lazygit
neofetch neofetch
zip zip
vlc
unzip unzip
gcc gcc
trash-cli trash-cli

View file

@ -38,8 +38,9 @@ in {
l = "eza -a --icons"; l = "eza -a --icons";
la = "eza -lha --icons --git"; la = "eza -lha --icons --git";
cd = "z"; cd = "z";
nv = "nvim";
#TODO fix hardcoding of git repo path and profile name #TODO fix hardcoding of git repo path and profile name
update = "nixos-rebuild switch --flake \"$HOME/Git/nichts#${username}\" --log-format internal-json |& nom --json"; update = "sudo -p 'password: ' echo 'Your daughter is just a fork of your wife.' && sudo nixos-rebuild switch --flake \"$HOME/Git/nichts#${username}\" --log-format internal-json |& nom --json";
} // cfg.extraAliases; } // cfg.extraAliases;
initExtraFirst = mkIf cfg.profiling "zmodload zsh/zprof"; initExtraFirst = mkIf cfg.profiling "zmodload zsh/zprof";

View file

@ -1,9 +1,5 @@
{ { config, inputs, lib, ... }:
config, with lib; let
inputs,
lib,
...
}: with lib; let
cfg = config.myOptions.programs.schizofox; cfg = config.myOptions.programs.schizofox;
username = config.myOptions.other.system.username; username = config.myOptions.other.system.username;
in { in {
@ -18,23 +14,23 @@ in {
programs.schizofox = { programs.schizofox = {
enable = true; enable = true;
theme = { theme = {
background-darker = "181825"; colors.background-darker = "181825";
background = "1e1e2e"; colors.background = "1e1e2e";
foreground = "cdd6f4"; colors.foreground = "cdd6f4";
font = "Lexend"; font = "Lexend";
simplefox.enable = false; extraUserChrome = ''
darkreader.enable = true;
extraCss = ''
body { body {
color: red !important; color: red !important;
} }
''; '';
}; };
extensions = {
simplefox.enable = false;
darkreader.enable = true;
};
search = { search = {
defaultSearchEngine = "Startpage"; defaultSearchEngine = "Brave";
removeEngines = ["Google" "Bing" "Amazon.com" "eBay" "Twitter" "Wikipedia"]; removeEngines = ["Google" "Bing" "Amazon.com" "eBay" "Twitter" "Wikipedia"];
searxUrl = "https://search.notashelf.dev";
searxQuery = "https://search.notashelf.dev/search?q={searchTerms}";
addEngines = [ addEngines = [
{ {
Name = "NixOS Packages"; Name = "NixOS Packages";