add wezterm to homemanager

This commit is contained in:
Sakooooo 2024-07-07 13:45:37 +04:00
parent 2a0074effa
commit 657b55d20a
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 29 additions and 0 deletions

View 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

View file

@ -16,5 +16,10 @@ in {
users.users.sako.packages = with pkgs; [
wezterm
];
home.file.".wezterm.lua" = {
enable = true;
source = ../../../config/wezterm/wezterm.lua;
};
};
}