wezterm: enabled for castle and fix configurations

This commit is contained in:
Tigor Hutasuhut 2024-07-10 14:49:12 +07:00
parent fe870e0785
commit 0c8337c9e4
8 changed files with 8 additions and 5 deletions

View file

@ -10,7 +10,6 @@ in
./programs
./modules
./config/wezterm
./direnv.nix
./config/kitty
./config/ideavim

View file

@ -26,6 +26,8 @@
./whatsapp.nix
./zathura.nix
./zsh.nix
./wezterm
];
programs.fzf = {

View file

@ -1,6 +1,6 @@
{ config, lib, ... }:
let
cfg = config.profile.wezterm;
cfg = config.profile.programs.wezterm;
in
{
config = lib.mkIf cfg.enable {

View file

@ -3,6 +3,7 @@ local wezterm = require('wezterm')
local shortcuts = require('keys')
return {
enable_wayland = false,
font = wezterm.font_with_fallback({
-- 'Comic Code Ligatures',
'JetBrainsMono Nerd Font Mono',
@ -21,8 +22,8 @@ return {
ssh_domains = {
{
name = 'home',
remote_address = 'home',
username = 'tigor',
remote_address = 'vpn.tigor.web.id',
username = 'homeserver',
ssh_option = {
identityfile = wezterm.home_dir .. '/.ssh/id_ed25519.pub',
},

View file

@ -32,7 +32,6 @@
obs.enable = lib.mkEnableOption "obs";
wezterm.enable = lib.mkEnableOption "wezterm";
neovide.enable = lib.mkEnableOption "neovide";
ideavim.enable = lib.mkEnableOption "ideavim";
kitty.enable = lib.mkEnableOption "kitty";
@ -83,6 +82,7 @@
default = true;
};
easyeffects.enable = lib.mkEnableOption "easyeffects";
wezterm.enable = lib.mkEnableOption "wezterm";
};
};
}

View file

@ -81,5 +81,6 @@ in
zathura.enable = true;
};
programs.easyeffects.enable = true;
programs.wezterm.enable = true;
};
}