nix-config/modules/home/shell.nix
2026-07-18 17:17:50 +02:00

50 lines
990 B
Nix

{ pkgs, ... }:
{
home.packages = with pkgs; [
lsd # lsdeluxe
qrencode
];
programs.atuin = {
enable = true;
enableZshIntegration = true;
settings = {
auto_sync = true;
sync_address = "https://atuin.huber.cloud";
};
flags = [
"--disable-ai"
];
};
programs.zsh = {
enable = true;
autocd = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
shellAliases = {
c = "clear";
ls = "lsd";
ll = "lsd -lahF";
l = "lsd -lhF";
t = "lsd --tree --depth 3";
lt = "lsd --tree --depth 3";
ltt = "lsd --tree";
dc = "podman compose";
dl = "podman compose logs -f";
lg = "lazygit";
tt = "timetagger";
qr = "qrencode -o - -t ansiutf8 \"$@\"";
x = "xdg-open";
"..." = "cd ../..";
"...." = "cd ../../..";
};
oh-my-zsh = {
enable = true;
plugins = [ "git" ];
theme = "robbyrussell";
};
};
}