fix up alacritty and tmux
This commit is contained in:
parent
0ea8b9ed2c
commit
0fecdd6eaa
@ -48,6 +48,7 @@
|
||||
systemPackages = with pkgs; [
|
||||
# simple-scan
|
||||
intel-media-driver
|
||||
# alacritty
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -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";
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user