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 ./programs
./modules ./modules
./config/wezterm
./direnv.nix ./direnv.nix
./config/kitty ./config/kitty
./config/ideavim ./config/ideavim

View file

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

View file

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

View file

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

View file

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

View file

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