Compare commits

...

2 commits

2 changed files with 90 additions and 85 deletions

View file

@ -207,10 +207,20 @@
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
"browser.newtabpage.activity-stream.showWeather" = false;
"browser.download.autoHideButton" = false;
"browser.startup.homepage" = "http://localhost:5364/";
# "browser.startup.homepage" = "http://localhost:5364/";
"browser.tabs.splitview.hasUsed" = true;
# Disable Firefox's machine learning (AI) features
"browser.ml.enable" = false;
"browser.ml.chat.enabled" = false;
"browser.ml.chat.page" = false;
"browser.ai.control.default" = "blocked";
"browser.ai.control.linkPreviewKeyPoints" = "blocked";
"browser.ai.control.pdfjsAltText" = "blocked";
"browser.ai.control.sidebarChatbot" = "blocked";
"browser.ai.control.smartTabGroups" = "blocked";
"browser.ai.control.translations" = "blocked";
"sidebar.notification.badge.aichat" = false;
# For browser toolbox/live editing user CSS
"devtools.chrome.enabled" = true;

View file

@ -3,11 +3,13 @@
pkgs,
...
}:
let
# Map Catppuccin colors to Kitty theme structure
kitty-colors = with config.scheme.withHashtag; ''
{
home.file.".config/kitty/themes" = {
source = pkgs.writeTextFile {
name = "kitty-colors";
text = with config.scheme.withHashtag; ''
# vim:ft=kitty
## name: Kova's Nixified Kitty
## name: NixOS Kitty Theme
## author: Catppuccin Org & sckova
## license: MIT
## upstream: https://github.com/catppuccin/kitty
@ -17,14 +19,14 @@ let
foreground ${base05}
background ${base00}
selection_foreground ${base00}
selection_background ${base06}
selection_background ${base05}
# Cursor colors
cursor ${base06}
cursor ${base05}
cursor_text_color ${base00}
# URL underline color when hovering with mouse
url_color ${base06}
url_color ${base05}
# Kitty window border colors
active_border_color ${config.scheme.withHashtag.${config.colors.accent}}
@ -79,16 +81,9 @@ let
color7 ${base04}
color15 ${base04}
'';
kitty-colors-file = pkgs.writeTextFile {
name = "kitty-colors";
text = kitty-colors;
destination = "/kitty-colors.conf";
};
in
{
home.file.".config/kitty/themes" = {
source = kitty-colors-file;
recursive = true;
};