From 9695d0f95658795354e6d14d2a9f5784bbf40bb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Krop=C3=A1=C4=8Dek?= Date: Wed, 25 Sep 2024 22:24:14 +0200 Subject: [PATCH] added alacritty --- hosts/base/default.nix | 1 + users/krop/default.nix | 74 ++++++++++++++++++++++++------------------ 2 files changed, 43 insertions(+), 32 deletions(-) diff --git a/hosts/base/default.nix b/hosts/base/default.nix index cc58344..a7a1273 100644 --- a/hosts/base/default.nix +++ b/hosts/base/default.nix @@ -120,6 +120,7 @@ # $ nix search wget environment.systemPackages = with pkgs; [ alacritty + alacritty-theme gnome-tweaks nixd nil diff --git a/users/krop/default.nix b/users/krop/default.nix index d1db27e..9e1b147 100644 --- a/users/krop/default.nix +++ b/users/krop/default.nix @@ -198,31 +198,41 @@ completionInit = "autoload -U compinit; compinit -d $ZSH/.zcompdump"; history.path = "$ZDOTDIR/.zsh_history"; shellAliases = { - lg="lazygit"; - cls="clear"; - open="xdg-open"; - fire="firefox"; - la="ls -al --color=auto"; - gs="git status"; - ga="git add"; - gaa="git add --all"; - cg-run="cargo run"; - cg-build="cargo build"; - cg-test="cargo test"; - dc="docker compose"; - dc-build="dc build"; - dc-run="dc run --rm"; - dc-runr="dc-run -u root"; - dc-up="dc up"; - dc-upd="dc up -d"; - dc-down="dc down"; - dc-ls="dc ls"; - dc-pull="dc pull"; - ds-env="env $(cat .env | grep \"^[A-Z]\" | xargs) docker stack"; - bw-unlock="BW_SESSION=$(bw unlock --raw) && export BW_SESSION"; - t="tmux"; - pc="pre-commit"; - tb="toolbox"; + lg = "lazygit"; + cls = "clear"; + open = "xdg-open"; + fire = "firefox"; + la = "ls -al --color=auto"; + gs = "git status"; + ga = "git add"; + gaa = "git add --all"; + cg-run = "cargo run"; + cg-build = "cargo build"; + cg-test = "cargo test"; + dc = "docker compose"; + dc-build = "dc build"; + dc-run = "dc run --rm"; + dc-runr = "dc-run -u root"; + dc-up = "dc up"; + dc-upd = "dc up -d"; + dc-down = "dc down"; + dc-ls = "dc ls"; + dc-pull = "dc pull"; + ds-env = "env $(cat .env | grep \"^[A-Z]\" | xargs) docker stack"; + bw-unlock = "BW_SESSION=$(bw unlock --raw) && export BW_SESSION"; + t = "tmux"; + pc = "pre-commit"; + tb = "toolbox"; + }; + }; + + programs.alacritty = { + enable = true; + settings = { + import = [ "${pkgs.alacritty-theme}/gnome_terminal.toml" ]; + font = { + size = 16; + }; }; }; @@ -234,14 +244,14 @@ sensible ]; extraConfig = '' - # Move status bar to top - set -g status-position top + # Move status bar to top + set -g status-position top - # Indexing from 1 instead of 0 - set -g base-index 1 - set -g pane-base-index 1 - set-window-option -g pane-base-index 1 - set-option -g renumber-windows on + # Indexing from 1 instead of 0 + set -g base-index 1 + set -g pane-base-index 1 + set-window-option -g pane-base-index 1 + set-option -g renumber-windows on ''; };