diff --git a/hosts/laptop/default.nix b/hosts/laptop/default.nix index 7c754d5..ca9fa3b 100644 --- a/hosts/laptop/default.nix +++ b/hosts/laptop/default.nix @@ -48,6 +48,7 @@ systemPackages = with pkgs; [ # simple-scan intel-media-driver +# alacritty ]; }; diff --git a/modules/programs/alacritty.nix b/modules/programs/alacritty.nix index bf0a9ee..c0c3e6b 100644 --- a/modules/programs/alacritty.nix +++ b/modules/programs/alacritty.nix @@ -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"; diff --git a/modules/shell/tmux.nix b/modules/shell/tmux.nix index 40b79c7..0b3edfc 100644 --- a/modules/shell/tmux.nix +++ b/modules/shell/tmux.nix @@ -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" diff --git a/modules/shell/zsh.nix b/modules/shell/zsh.nix index cababfb..325e757 100644 --- a/modules/shell/zsh.nix +++ b/modules/shell/zsh.nix @@ -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