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
neofetch
zip
vlc
unzip
gcc
trash-cli

View file

@ -38,8 +38,9 @@ in {
l = "eza -a --icons";
la = "eza -lha --icons --git";
cd = "z";
nv = "nvim";
#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;
initExtraFirst = mkIf cfg.profiling "zmodload zsh/zprof";

View file

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