hm: move wezterm lua config to the nix file
This commit is contained in:
parent
13b9de2b12
commit
c9d8d353ba
|
@ -3,6 +3,25 @@
|
|||
{
|
||||
programs.wezterm = {
|
||||
enable = true;
|
||||
extraConfig = builtins.readFile ./wezterm.lua;
|
||||
extraConfig = # lua
|
||||
''
|
||||
local wezterm = require("wezterm")
|
||||
|
||||
return {
|
||||
color_scheme = "Catppuccin Frappe",
|
||||
enable_wayland = false, -- Unfortunately broken on Hyprland, AGAIN
|
||||
font = wezterm.font("FantasqueSansM Nerd Font"),
|
||||
font_size = 13,
|
||||
hide_tab_bar_if_only_one_tab = true,
|
||||
hide_mouse_cursor_when_typing = false,
|
||||
window_background_opacity = 0.88,
|
||||
window_padding = {
|
||||
left = 18,
|
||||
right = 18,
|
||||
top = 18,
|
||||
bottom = 18,
|
||||
},
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
local wezterm = require("wezterm")
|
||||
|
||||
return {
|
||||
color_scheme = "Catppuccin Frappe",
|
||||
enable_wayland = false, -- Unfortunately broken on Hyprland, AGAIN
|
||||
font = wezterm.font("FantasqueSansM Nerd Font"),
|
||||
font_size = 13,
|
||||
hide_tab_bar_if_only_one_tab = true,
|
||||
hide_mouse_cursor_when_typing = false,
|
||||
window_background_opacity = 0.88,
|
||||
window_padding = {
|
||||
left = 18,
|
||||
right = 18,
|
||||
top = 18,
|
||||
bottom = 18,
|
||||
},
|
||||
}
|
Loading…
Reference in a new issue