nix/home/zsh/default.nix

42 lines
1.2 KiB
Nix
Raw Normal View History

2024-06-05 20:52:52 +02:00
{ config, pkgs, ...} :
{
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
shellAliases = {
2024-06-25 16:59:38 +02:00
v = "nvim";
2024-07-04 00:19:14 +02:00
pu = "bash ~/nix/home/zsh/push.sh";
2024-06-05 20:52:52 +02:00
fr = "sudo systemctl reboot --firmware";
ser = "ssh root@joygnu.org";
2024-07-03 15:40:52 +02:00
rb = "bash ~/nix/home/zsh/pc-laptop.sh";
2024-06-25 16:59:38 +02:00
up = "sudo nix flake update ~/nix";
2024-06-05 20:52:52 +02:00
del = "sudo nix-collect-garbage -d";
2024-06-25 16:59:38 +02:00
gtk = "nvim ~/nix/home/gtk/default.nix";
hy = "nvim ~/nix/home/hyprland/default.nix";
zs = "nvim ~/nix/home/zsh/default.nix";
ec = "nvim ~/nix/hosts/pc/default.nix";
el = "nvim ~/nix/hosts/laptop/default.nix";
ef = "nvim ~/nix/flake.nix";
ep = "nvim ~/nix/hosts/pc/default.nix";
eh = "nvim ~/nix/home/default.nix";
em = "nvim ~/nix/modules/misc/default.nix";
es = "nvim ~/nix/modules/stylix/default.nix";
2024-07-01 09:18:05 +02:00
eb = "nvim ~/nix/modules/packages/default.nix";
2024-06-05 20:52:52 +02:00
};
history.size = 10000;
history.path = "${config.xdg.dataHome}/zsh/history";
oh-my-zsh = {
enable = true;
plugins = [ "history-substring-search" ];
theme = "simple";
};
};
}