diff --git a/homes/desktop.nix b/homes/desktop.nix index 2a0790c..980d220 100644 --- a/homes/desktop.nix +++ b/homes/desktop.nix @@ -32,19 +32,7 @@ (texlive.combine { inherit (texlive) scheme-basic latex-bin latexmk; }) custom-pkgs.ark ]; - shellAliases = { - code = "codium"; - zunlink = '' - readlink ~/.config/zed/settings.json > ~/.config/zed/hm-settings-location && - rm ~/.config/zed/settings.json && - cp $(< ~/.config/zed/hm-settings-location) ~/.config/zed/settings.json && - chmod u+w ~/.config/zed/settings.json - ''; - zrelink = '' - rm -f ~/.config/zed/settings.json && - ln -s $(< ~/.config/zed/hm-settings-location) ~/.config/zed/settings.json - ''; - }; + shellAliases = { code = "codium"; }; }; services = { syncthing.enable = true; }; } diff --git a/programs/firefox.nix b/programs/firefox.nix index 520a4ef..819415d 100644 --- a/programs/firefox.nix +++ b/programs/firefox.nix @@ -101,31 +101,9 @@ updateInterval = 24 * 60 * 60 * 1000; # every day definedAliases = [ "@mxs" ]; }; - # Since Firefox added their own Perplexity integration, I can no - # longer call this profile "Perplexity." To fix this, we'll pretend - # to use Perplexity Pro. This profile has a much handier alias, plus - # removes the "vendor code" from all queries. - "Perplexity Pro" = { - urls = [ - { - rels = [ "results" ]; - type = "text/html"; - template = "https://www.perplexity.ai/search"; - params = [{ - name = "q"; - value = "{searchTerms}"; - }]; - } - { - rels = [ "suggestions" ]; - type = "application/x-suggestions+json"; - template = "https://suggest.perplexity.ai/suggest"; - params = [{ - name = "q"; - value = "{searchTerms}"; - }]; - } - ]; + "Perplexity" = { + urls = + [{ template = "https://www.perplexity.ai/?q={searchTerms}"; }]; icon = "https://www.perplexity.ai/favicon.ico"; updateInterval = 7 * 24 * 60 * 60 * 1000; definedAliases = [ "@pxt" ]; @@ -150,16 +128,6 @@ updateInterval = 24 * 60 * 60 * 1000; # every day definedAliases = [ "@kg" ]; }; - - # Hide search engines that I don't use/only use via bangs - google.metaData.hidden = true; - bing.metaData.hidden = true; - amazondotcom-us.metaData.hidden = true; - ddg.metaData.hidden = true; - ebay.metaData.hidden = true; - wikipedia.metaData.hidden = true; - perplexity.metaData.hidden = true; - # Based on which bangs I use, I should also add (in no particular order): # - Dockerhub # - WineHQ @@ -221,15 +189,12 @@ baseDomain = "vault.millironx.com"; } { - url = - "https://www.vet.k-state.edu/academics/student-faculty-handbook/"; - label = "KSU CVM Student-Faculty Handbook"; - baseDomain = "www.vet.k-state.edu"; + url = "https://www.perplexity.ai/"; + label = "perplexity"; } { - url = "https://ksu.one45.com"; - label = "One45"; - baseDomain = "ksu.one45.com"; + url = + "https://www.vet.k-state.edu/academics/student-faculty-handbook/"; } ]; "browser.shopping.experience2023.active" = false; diff --git a/programs/zed.nix b/programs/zed.nix index 44994ce..cb1d619 100644 --- a/programs/zed.nix +++ b/programs/zed.nix @@ -24,7 +24,6 @@ provider = "zed.dev"; model = "claude-3-7-sonnet"; }; - default_profile = "minimal"; }; buffer_font_family = "FiraCode Nerd Font"; buffer_font_size = 11;