refactor: migrate nix-darwin config to a flake-parts dendritic layout

This commit is contained in:
Poby 2026-03-26 09:03:35 +09:00
parent f80b0b0d4f
commit 09801ac429
No known key found for this signature in database
84 changed files with 1029 additions and 687 deletions

View file

@ -0,0 +1,43 @@
local wezterm = require("wezterm")
config = wezterm.config_builder()
config = {
-- Windows
automatically_reload_config = true,
use_fancy_tab_bar = true,
hide_tab_bar_if_only_one_tab = true,
window_close_confirmation = "NeverPrompt",
window_decorations = "RESIZE", -- disable title bar, enable resize
default_cursor_style = "BlinkingBar",
-- Appearance
color_scheme = "Tokyo Night",
font = wezterm.font("D2CodingLigature Nerd Font"),
font_size = 18,
background = {
{
source = { Color = "#282c35" },
width = "100%",
height = "100%",
opacity = 0.95,
},
},
window_padding = {
left = 0,
right = 0,
top = 0,
bottom = 0,
},
-- Keymappings
keys = {
{
key = "P",
mods = "SUPER",
action = wezterm.action.ActivateCommandPalette,
},
},
}
return config