add wezterm to homemanager
This commit is contained in:
parent
2a0074effa
commit
657b55d20a
2 changed files with 29 additions and 0 deletions
24
config/wezterm/wezterm.lua
Normal file
24
config/wezterm/wezterm.lua
Normal file
|
@ -0,0 +1,24 @@
|
|||
-- Pull in the wezterm API
|
||||
local wezterm = require("wezterm")
|
||||
|
||||
-- This will hold the configuration.
|
||||
local config = wezterm.config_builder()
|
||||
|
||||
-- This is where you actually apply your config choices
|
||||
config.enable_tab_bar = false
|
||||
|
||||
config.window_frame = {
|
||||
|
||||
font = wezterm.font({ family = "JetBrainsMono NF" }),
|
||||
font_size = 12.0,
|
||||
}
|
||||
|
||||
config.window_padding = {
|
||||
left = 20,
|
||||
right = 20,
|
||||
top = 20,
|
||||
bottom = 20,
|
||||
}
|
||||
|
||||
-- and finally, return the configuration to wezterm
|
||||
return config
|
|
@ -16,5 +16,10 @@ in {
|
|||
users.users.sako.packages = with pkgs; [
|
||||
wezterm
|
||||
];
|
||||
|
||||
home.file.".wezterm.lua" = {
|
||||
enable = true;
|
||||
source = ../../../config/wezterm/wezterm.lua;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue