fix up alacritty and tmux
This commit is contained in:
parent
0ea8b9ed2c
commit
0fecdd6eaa
@ -48,6 +48,7 @@
|
|||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
# simple-scan
|
# simple-scan
|
||||||
intel-media-driver
|
intel-media-driver
|
||||||
|
# alacritty
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -7,9 +7,13 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
home.packages = [ pkgs.alacritty ];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
alacritty = {
|
alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.alacritty;
|
||||||
settings = {
|
settings = {
|
||||||
font = rec { # Font - Laptop has size manually changed at home.nix
|
font = rec { # Font - Laptop has size manually changed at home.nix
|
||||||
normal.family = "Source Code Pro";
|
normal.family = "Source Code Pro";
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
clock24 = true;
|
clock24 = true;
|
||||||
shortcut = "h";
|
shortcut = "h";
|
||||||
baseIndex = 1;
|
baseIndex = 1;
|
||||||
shell = "\${pkgs.zsh}/bin/zsh";
|
|
||||||
plugins = [ pkgs.tmuxPlugins.dracula ];
|
plugins = [ pkgs.tmuxPlugins.dracula ];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
set -g @dracula-plugins "cpu-usage ram-usage network-bandwidth time"
|
set -g @dracula-plugins "cpu-usage ram-usage network-bandwidth time"
|
||||||
|
@ -18,11 +18,15 @@
|
|||||||
plugins = [ "git" ];
|
plugins = [ "git" ];
|
||||||
custom = "$HOME/.config/zsh_nix/custom";
|
custom = "$HOME/.config/zsh_nix/custom";
|
||||||
};
|
};
|
||||||
initExtra = '' # Zsh theme
|
|
||||||
|
initExtraFirst = '' # very first inits in zshrc
|
||||||
if [[ $DISPLAY ]]; then
|
if [[ $DISPLAY ]]; then
|
||||||
[[ $- != *i* ]] && return
|
[[ $- != *i* ]] && return
|
||||||
tmux attach
|
tmux attach
|
||||||
fi
|
fi
|
||||||
|
'';
|
||||||
|
|
||||||
|
initExtra = '' # Zsh theme
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
gpg-connect-agent updatestartuptty /bye >/dev/null
|
gpg-connect-agent updatestartuptty /bye >/dev/null
|
||||||
unset SSH_AGENT_PID
|
unset SSH_AGENT_PID
|
||||||
|
Loading…
Reference in New Issue
Block a user