mirror of
https://github.com/materusPL/nixos-config
synced 2025-06-26 01:54:24 +02:00
home-profile: changes to wezterm
This commit is contained in:
parent
eceae11a41
commit
2a65700253
@ -3,7 +3,6 @@ let
|
|||||||
cfg = config.materus.profile.wezterm;
|
cfg = config.materus.profile.wezterm;
|
||||||
zshCfg = ''
|
zshCfg = ''
|
||||||
source "${config.programs.wezterm.package}/etc/profile.d/wezterm.sh"
|
source "${config.programs.wezterm.package}/etc/profile.d/wezterm.sh"
|
||||||
alias 'wezcraft'="wezterm --config font=\"wezterm.font 'Monocraft Nerd Font'\""
|
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@ -35,6 +34,9 @@ in
|
|||||||
fonts = [ "Hack" ];
|
fonts = [ "Hack" ];
|
||||||
}))
|
}))
|
||||||
(lib.mkIf cfg.enableWezcraft (pkgs.monocraft))
|
(lib.mkIf cfg.enableWezcraft (pkgs.monocraft))
|
||||||
|
(lib.mkIf cfg.enableWezcraft (pkgs.writeShellScriptBin "wezcraft" ''
|
||||||
|
${lib.getExe config.programs.wezterm.package} --config font="wezterm.font 'Monocraft Nerd Font'" $@
|
||||||
|
''))
|
||||||
];
|
];
|
||||||
|
|
||||||
materus.profile.zsh.endConfig = lib.optionalString cfg.enableWezcraft zshCfg;
|
materus.profile.zsh.endConfig = lib.optionalString cfg.enableWezcraft zshCfg;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user