mirror of
https://github.com/ryanccn/flake.git
synced 2026-01-27 04:06:28 +01:00
chore: update
This commit is contained in:
parent
5e189a590f
commit
17cd6aed1d
8 changed files with 126 additions and 109 deletions
|
|
@ -3,43 +3,39 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
keyValue = pkgs.formats.keyValue {
|
||||
listsAsDuplicateKeys = true;
|
||||
mkKeyValue = lib.generators.mkKeyValueDefault { } " = ";
|
||||
};
|
||||
|
||||
settings = {
|
||||
theme = "Catppuccin ${lib.toSentenceCase config.catppuccin.flavor}";
|
||||
window-colorspace = "display-p3";
|
||||
|
||||
font-family = "Ryan Term";
|
||||
font-size = 14;
|
||||
font-feature = [
|
||||
"-calt"
|
||||
"-dlig"
|
||||
];
|
||||
|
||||
adjust-cell-height = "25%";
|
||||
adjust-underline-position = 5;
|
||||
|
||||
command = "/run/current-system/sw/bin/fish -l";
|
||||
|
||||
macos-option-as-alt = true;
|
||||
macos-secure-input-indication = false;
|
||||
|
||||
window-step-resize = true;
|
||||
window-padding-x = 15;
|
||||
window-padding-y = 15;
|
||||
|
||||
keybind = [ "super+backspace=text:\\x15" ];
|
||||
};
|
||||
in
|
||||
{
|
||||
xdg.configFile."ghostty/config".source = keyValue.generate "ghostty-config" settings;
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
package = null;
|
||||
|
||||
settings = {
|
||||
theme = "Catppuccin ${lib.toSentenceCase config.catppuccin.flavor}";
|
||||
window-colorspace = "display-p3";
|
||||
|
||||
font-family = "Ryan Term";
|
||||
font-size = 14;
|
||||
font-feature = [
|
||||
"-calt"
|
||||
"-dlig"
|
||||
];
|
||||
|
||||
adjust-cell-height = "25%";
|
||||
adjust-underline-position = 5;
|
||||
|
||||
command = "/run/current-system/sw/bin/fish -l";
|
||||
|
||||
macos-option-as-alt = true;
|
||||
macos-secure-input-indication = false;
|
||||
|
||||
window-step-resize = true;
|
||||
window-padding-x = 15;
|
||||
window-padding-y = 15;
|
||||
|
||||
keybind = [ "super+backspace=text:\\x15" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ let
|
|||
"dotjoshjohnson.xml"
|
||||
"dprint.dprint"
|
||||
"editorconfig.editorconfig"
|
||||
"esbenp.prettier-vscode"
|
||||
"github.vscode-github-actions"
|
||||
"graphql.vscode-graphql"
|
||||
"graphql.vscode-graphql-syntax"
|
||||
|
|
@ -42,6 +41,7 @@ let
|
|||
"ms-python.python"
|
||||
"ms-python.vscode-pylance"
|
||||
"naumovs.color-highlight"
|
||||
"prettier.prettier-vscode"
|
||||
"prisma.prisma"
|
||||
"ronnidc.nunjucks"
|
||||
"rust-lang.rust-analyzer"
|
||||
|
|
@ -73,11 +73,11 @@ in
|
|||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.writeShellApplication {
|
||||
name = "vscode-1.100.2";
|
||||
name = "vscode-1.107.0";
|
||||
text = "";
|
||||
derivationArgs = {
|
||||
pname = "vscode";
|
||||
version = "1.100.2";
|
||||
version = "1.107.0";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -127,7 +127,9 @@ in
|
|||
# "editor.minimap.renderCharacters" = false;
|
||||
"workbench.editor.highlightModifiedTabs" = true;
|
||||
"workbench.editor.empty.hint" = "hidden";
|
||||
|
||||
"chat.disableAIFeatures" = true;
|
||||
"workbench.settings.showAISearchToggle" = false;
|
||||
|
||||
"editor.inlineSuggest.enabled" = true;
|
||||
"editor.tabSize" = 2;
|
||||
|
|
@ -149,7 +151,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
"editor.defaultFormatter" = "esbenp.prettier-vscode";
|
||||
"editor.defaultFormatter" = "prettier.prettier-vscode";
|
||||
|
||||
"javascript.preferGoToSourceDefinition" = true;
|
||||
"typescript.preferGoToSourceDefinition" = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue