nix-config/home/shell.nix
2026-05-07 00:25:46 +02:00

41 lines
794 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";
};
};
programs.zsh = {
enable = true;
autocd = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
shellAliases = {
ll = "lsd -lahF";
l = "lsd -lhF";
dc = "docker compose";
dl = "docker compose logs -f";
tt = "timetagger";
qr = "qrencode -o - -t ansiutf8 \"$@\"";
x = "xdg-open";
"..." = "cd ../..";
"...." = "cd ../../..";
};
oh-my-zsh = {
enable = true;
plugins = [ "git" ];
theme = "robbyrussell";
};
};
}