fix up alacritty and tmux

This commit is contained in:
Kabbone 2022-10-09 14:01:59 +02:00
parent 0ea8b9ed2c
commit 0fecdd6eaa
4 changed files with 11 additions and 3 deletions

View File

@ -48,6 +48,7 @@
systemPackages = with pkgs; [
# simple-scan
intel-media-driver
# alacritty
];
};

View File

@ -7,9 +7,13 @@
{ pkgs, ... }:
{
home.packages = [ pkgs.alacritty ];
programs = {
alacritty = {
enable = true;
package = pkgs.alacritty;
settings = {
font = rec { # Font - Laptop has size manually changed at home.nix
normal.family = "Source Code Pro";

View File

@ -15,7 +15,6 @@
clock24 = true;
shortcut = "h";
baseIndex = 1;
shell = "\${pkgs.zsh}/bin/zsh";
plugins = [ pkgs.tmuxPlugins.dracula ];
extraConfig = ''
set -g @dracula-plugins "cpu-usage ram-usage network-bandwidth time"

View File

@ -18,11 +18,15 @@
plugins = [ "git" ];
custom = "$HOME/.config/zsh_nix/custom";
};
initExtra = '' # Zsh theme
initExtraFirst = '' # very first inits in zshrc
if [[ $DISPLAY ]]; then
[[ $- != *i* ]] && return
tmux attach
tmux attach
fi
'';
initExtra = '' # Zsh theme
export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null
unset SSH_AGENT_PID