This commit is contained in:
암냥 2026-07-07 09:45:04 +09:00
commit 04c9007f08
No known key found for this signature in database
14 changed files with 389 additions and 59 deletions

View file

@ -1,35 +1,12 @@
{pkgs, ...}: {
{ pkgs, ... }: {
programs.ghostty = {
enable = true;
package = if pkgs.stdenv.isDarwin then pkgs.ghostty-bin else pkgs.ghostty;
enableFishIntegration = true;
settings = {
background = "#fcf8f9";
foreground = "#191017";
cursor-color = "#301d23";
selection-background = "#f4ecee";
selection-foreground = "#191017";
palette = [
"0=#5c5f77"
"1=#d20f39"
"2=#40a02b"
"3=#df8e1d"
"4=#1e66f5"
"5=#ea76cb"
"6=#179299"
"7=#acb0be"
"8=#6c6f85"
"9=#d20f39"
"10=#40a02b"
"11=#df8e1d"
"12=#1e66f5"
"13=#ea76cb"
"14=#179299"
"15=#bcc0cc"
];
settings = {
theme = "light:Mizuki Light,dark:Mizuki Dark";
window-colorspace = "srgb";
window-theme = "ghostty";
@ -46,4 +23,56 @@
auto-update = "off";
};
};
xdg.configFile."ghostty/themes/Mizuki Light".text = ''
background = #fcf8f9
foreground = #191017
cursor-color = #301d23
selection-background = #f4ecee
selection-foreground = #191017
palette = 0=#5c5f77
palette = 1=#d20f39
palette = 2=#40a02b
palette = 3=#df8e1d
palette = 4=#1e66f5
palette = 5=#ea76cb
palette = 6=#179299
palette = 7=#acb0be
palette = 8=#6c6f85
palette = 9=#d20f39
palette = 10=#40a02b
palette = 11=#df8e1d
palette = 12=#1e66f5
palette = 13=#ea76cb
palette = 14=#179299
palette = 15=#bcc0cc
'';
xdg.configFile."ghostty/themes/Mizuki Dark".text = ''
background = #191017
foreground = #fafafa
cursor-color = #fafafa
selection-background = #2c1f2d
selection-foreground = #fafafa
palette = 0=#5c5f77
palette = 1=#f38ba8
palette = 2=#a6e3a1
palette = 3=#f9e2af
palette = 4=#89b4fa
palette = 5=#f5c2e7
palette = 6=#94e2d5
palette = 7=#bac2de
palette = 8=#6c7086
palette = 9=#f38ba8
palette = 10=#a6e3a1
palette = 11=#f9e2af
palette = 12=#89b4fa
palette = 13=#f5c2e7
palette = 14=#94e2d5
palette = 15=#cdd6f4
'';
}

View file

@ -29,7 +29,7 @@ in
src = builtins.fetchTarball {
url = "https://code.visualstudio.com/sha/download?build=insider&os=linux-x64";
sha256 = "1vzf897inlzxfwmnaykkj3gqg18wbh9zhv7lnh3if6agixv0v91b";
sha256 = "19cq6pwyzickckc5zi4lpxrqjhb4lhpwkr83jy2ma6jg3zh1cjk3";
};
buildInputs = oldAttrs.buildInputs ++ [

View file

@ -16,7 +16,7 @@
"buffer_font_size" = 15;
"theme" = {
"mode" = "light";
"mode" = "system";
"light" = "One Light";
"dark" = "One Dark";
};
@ -28,7 +28,6 @@
"title_bar.background" = "#FDF7F9";
"elevated_surface.background" = "#FDF7F9";
# 핵심: sidebar/project panel 쪽은 투명 제거
"surface.background" = "#FDF7F9";
"panel.background" = "#FDF7F9";
"editor.gutter.background" = "#FDF7F9";
@ -36,7 +35,6 @@
"toolbar.background" = "#FDF7F9";
"terminal.background" = "#FDF7F9";
# editor만 투명 유지하고 싶으면 이건 남겨도 됨
"editor.background" = "#00000000";
"editor.line_number" = "#A38F96";
@ -69,6 +67,56 @@
"drop_target.background" = "#8165701a";
"editor.highlighted_line.background" = "#8165701a";
};
"One Dark" = {
"background" = "#191017";
"status_bar.background" = "#191017";
"title_bar.background" = "#191017";
"elevated_surface.background" = "#191017";
"surface.background" = "#191017";
"panel.background" = "#191017";
"editor.gutter.background" = "#191017";
"tab_bar.background" = "#191017";
"toolbar.background" = "#191017";
"terminal.background" = "#191017";
"editor.background" = "#00000000";
"editor.foreground" = "#FAFAFA";
"text" = "#FAFAFA";
"text.muted" = "#A9A9B1";
"editor.line_number" = "#A38F96";
"editor.active_line_number" = "#FAFAFA";
"border" = "#2C1F2D";
"hint.background" = "#2C1F2D";
"tab.active_background" = "#2C1F2D";
"tab.inactive_background" = "#191017";
"element.selected" = "#2C1F2D";
"element.active" = "#2C1F2D99";
"element.hover" = "#2C1F2D80";
"editor.indent_guide" = "#2C1F2D";
"editor.indent_guide_active" = "#4A354C";
"panel.indent_guide" = "#2C1F2D";
"panel.indent_guide_hover" = "#4A354C";
"panel.indent_guide_active" = "#604562";
"panel.focused_border" = "#00000000";
"border.variant" = "#00000000";
"scrollbar.track.border" = "#00000000";
"editor.active_line.background" = "#2C1F2D66";
"scrollbar.track.background" = "#00000000";
"scrollbar.thumb.background" = "#A38F9680";
"ghost_element.background" = "#00000000";
"ghost_element.hover" = "#2C1F2D80";
"ghost_element.active" = "#2C1F2D99";
"ghost_element.selected" = "#2C1F2DCC";
"drop_target.background" = "#2C1F2D99";
"editor.highlighted_line.background" = "#2C1F2D99";
};
};
};
};

View file

@ -8,6 +8,7 @@ let
in
{
home.file.".local/share/color-schemes/Kawa.colors".source = "${assets}/config/Kawa.colors";
home.file.".local/share/color-schemes/KawaDark.colors".source = "${assets}/config/KawaDark.colors";
home.file.".config/autostart/1password.desktop".source = "${assets}/config/1password.desktop";
programs.plasma = {

25
modules/home/ssh.nix Normal file
View file

@ -0,0 +1,25 @@
{ ... }: {
programs.ssh = {
enable = true;
matchBlocks = {
"*" = {
forwardAgent = false;
identityAgent = "~/.1password/agent.sock";
setEnv = {
TERM = "xterm-256color";
};
extraOptions = {
ServerAliveInterval = "0";
ServerAliveCountMax = "3";
Compression = "no";
AddKeysToAgent = "no";
HashKnownHosts = "no";
UserKnownHostsFile = "~/.ssh/known_hosts";
ControlMaster = "no";
ControlPath = "~/.ssh/master-%r@%n:%p";
ControlPersist = "no";
};
};
};
};
}

View file

@ -1,9 +1,9 @@
{ pkgs, ... }:
{
catppuccin.enable = true;
catppuccin.flavor = "latte";
catppuccin.autoEnable = false;
catppuccin = {
enable = true;
flavor = "latte";
autoEnable = false;
cache.enable = true;
cursors.enable = false;
fcitx5.enable = true;