new formatting, nixvim is working
This commit is contained in:
parent
6513d61fa3
commit
0e22544a8a
88 changed files with 1994 additions and 1845 deletions
|
@ -1,24 +1,28 @@
|
|||
{ config, inputs, lib, ... }:
|
||||
let
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
cfg = config.modules.programs.schizofox;
|
||||
inherit (config.modules.other.system) username;
|
||||
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
in {
|
||||
options.modules.programs.schizofox = { enable = mkEnableOption "schizofox"; };
|
||||
options.modules.programs.schizofox = {enable = mkEnableOption "schizofox";};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.${username} = {
|
||||
imports = [ inputs.schizofox.homeManagerModule ];
|
||||
imports = [inputs.schizofox.homeManagerModule];
|
||||
|
||||
programs.schizofox = {
|
||||
enable = true;
|
||||
theme = {
|
||||
# colors = {
|
||||
# background-darker = "181825";
|
||||
# background = "1e1e2e";
|
||||
# foreground = "cdd6f4";
|
||||
# };
|
||||
# colors = {
|
||||
# background-darker = "181825";
|
||||
# background = "1e1e2e";
|
||||
# foreground = "cdd6f4";
|
||||
# };
|
||||
colors = {
|
||||
background-darker = "1d2021";
|
||||
background = "282828";
|
||||
|
@ -34,24 +38,21 @@ in {
|
|||
};
|
||||
search = {
|
||||
defaultSearchEngine = "DuckDuckGo";
|
||||
removeEngines =
|
||||
[ "Google" "Bing" "Amazon.com" "eBay" "Twitter" "Wikipedia" ];
|
||||
removeEngines = ["Google" "Bing" "Amazon.com" "eBay" "Twitter" "Wikipedia"];
|
||||
addEngines = [
|
||||
{
|
||||
Name = "NixOS Packages";
|
||||
Description = "NixOS Unstable package search";
|
||||
Alias = "!np";
|
||||
Method = "GET";
|
||||
URLTemplate =
|
||||
"https://search.nixos.org/packages?channel=unstable&query={searchTerms}";
|
||||
URLTemplate = "https://search.nixos.org/packages?channel=unstable&query={searchTerms}";
|
||||
}
|
||||
{
|
||||
Name = "NixOS Options";
|
||||
Description = "NixOS Unstable option search";
|
||||
Alias = "!no";
|
||||
Method = "GET";
|
||||
URLTemplate =
|
||||
"https://search.nixos.org/options?channel=unstable&query={searchTerms}";
|
||||
URLTemplate = "https://search.nixos.org/options?channel=unstable&query={searchTerms}";
|
||||
}
|
||||
{
|
||||
Name = "NixOS Wiki";
|
||||
|
@ -65,32 +66,28 @@ in {
|
|||
Description = "Home Manager option search";
|
||||
Alias = "!hm";
|
||||
Method = "GET";
|
||||
URLTemplate =
|
||||
"https://mipmip.github.io/home-manager-option-search?query={searchTerms}";
|
||||
URLTemplate = "https://mipmip.github.io/home-manager-option-search?query={searchTerms}";
|
||||
}
|
||||
{
|
||||
Name = "Arch Wiki";
|
||||
Description = "Arch Wiki search";
|
||||
Alias = "!aw";
|
||||
Method = "GET";
|
||||
URLTemplate =
|
||||
"https://wiki.archlinux.org/index.php?search={searchTerms}";
|
||||
URLTemplate = "https://wiki.archlinux.org/index.php?search={searchTerms}";
|
||||
}
|
||||
{
|
||||
Name = "Gentoo Wiki";
|
||||
Description = "Gentoo Wiki search";
|
||||
Alias = "!gw";
|
||||
Method = "GET";
|
||||
URLTemplate =
|
||||
"https://wiki.gentoo.org/index.php?search={searchTerms}";
|
||||
URLTemplate = "https://wiki.gentoo.org/index.php?search={searchTerms}";
|
||||
}
|
||||
{
|
||||
Name = "Debian Wiki";
|
||||
Description = "Debian Wiki search";
|
||||
Alias = "!dw";
|
||||
Method = "GET";
|
||||
URLTemplate =
|
||||
"https://wiki.debian.org/FrontPage?action=fullsearch&value={searchTerms}";
|
||||
URLTemplate = "https://wiki.debian.org/FrontPage?action=fullsearch&value={searchTerms}";
|
||||
}
|
||||
{
|
||||
Name = "noogle";
|
||||
|
@ -106,15 +103,13 @@ in {
|
|||
darkreader.enable = true;
|
||||
# vimium.enable = true;
|
||||
extraExtensions = {
|
||||
"webextension@vimium".install_url =
|
||||
"https://addons.mozilla.org/firefox/downloads/file/4259790/vimium_ff-2.1.2.xpi";
|
||||
"webextension@vimium".install_url = "https://addons.mozilla.org/firefox/downloads/file/4259790/vimium_ff-2.1.2.xpi";
|
||||
};
|
||||
};
|
||||
security = {
|
||||
sanitizeOnShutdown = false;
|
||||
sandbox = true;
|
||||
userAgent =
|
||||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0";
|
||||
userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0";
|
||||
};
|
||||
|
||||
misc = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue