added alacritty

This commit is contained in:
Jakub Kropáček 2024-09-25 22:24:14 +02:00
parent 16ee2b7526
commit 9695d0f956
2 changed files with 43 additions and 32 deletions

View file

@ -120,6 +120,7 @@
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
alacritty alacritty
alacritty-theme
gnome-tweaks gnome-tweaks
nixd nixd
nil nil

View file

@ -198,31 +198,41 @@
completionInit = "autoload -U compinit; compinit -d $ZSH/.zcompdump"; completionInit = "autoload -U compinit; compinit -d $ZSH/.zcompdump";
history.path = "$ZDOTDIR/.zsh_history"; history.path = "$ZDOTDIR/.zsh_history";
shellAliases = { shellAliases = {
lg="lazygit"; lg = "lazygit";
cls="clear"; cls = "clear";
open="xdg-open"; open = "xdg-open";
fire="firefox"; fire = "firefox";
la="ls -al --color=auto"; la = "ls -al --color=auto";
gs="git status"; gs = "git status";
ga="git add"; ga = "git add";
gaa="git add --all"; gaa = "git add --all";
cg-run="cargo run"; cg-run = "cargo run";
cg-build="cargo build"; cg-build = "cargo build";
cg-test="cargo test"; cg-test = "cargo test";
dc="docker compose"; dc = "docker compose";
dc-build="dc build"; dc-build = "dc build";
dc-run="dc run --rm"; dc-run = "dc run --rm";
dc-runr="dc-run -u root"; dc-runr = "dc-run -u root";
dc-up="dc up"; dc-up = "dc up";
dc-upd="dc up -d"; dc-upd = "dc up -d";
dc-down="dc down"; dc-down = "dc down";
dc-ls="dc ls"; dc-ls = "dc ls";
dc-pull="dc pull"; dc-pull = "dc pull";
ds-env="env $(cat .env | grep \"^[A-Z]\" | xargs) docker stack"; ds-env = "env $(cat .env | grep \"^[A-Z]\" | xargs) docker stack";
bw-unlock="BW_SESSION=$(bw unlock --raw) && export BW_SESSION"; bw-unlock = "BW_SESSION=$(bw unlock --raw) && export BW_SESSION";
t="tmux"; t = "tmux";
pc="pre-commit"; pc = "pre-commit";
tb="toolbox"; tb = "toolbox";
};
};
programs.alacritty = {
enable = true;
settings = {
import = [ "${pkgs.alacritty-theme}/gnome_terminal.toml" ];
font = {
size = 16;
};
}; };
}; };