2023-03-29 15:38:01 +01:00
|
|
|
{ config, ... }:
|
|
|
|
|
|
|
|
{
|
2023-04-12 13:18:03 +01:00
|
|
|
imports = [ ./common.nix ];
|
2023-03-29 15:38:01 +01:00
|
|
|
programs.zsh = {
|
|
|
|
enable = true;
|
|
|
|
shellAliases = {
|
|
|
|
ll = "ls -l";
|
|
|
|
update = "sudo nixos-rebuild switch";
|
2023-04-21 07:35:29 +01:00
|
|
|
nr = "sudo nixos-rebuild";
|
|
|
|
hm = "home-manager";
|
|
|
|
lg = "lazygit";
|
|
|
|
nv = "neovide --multigrid --maximized";
|
|
|
|
xnv = "WINIT_UNIX_BACKEND=x11 neovide --multigrid --maximized";
|
2023-03-29 15:38:01 +01:00
|
|
|
};
|
|
|
|
history = {
|
|
|
|
size = 10000;
|
|
|
|
path = "${config.xdg.dataHome}/zsh/history";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|