40 lines
684 B
Nix
40 lines
684 B
Nix
{ pkgs, ... }: {
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
zip
|
|
btop
|
|
unzip
|
|
neovim
|
|
w3m
|
|
git
|
|
];
|
|
|
|
|
|
programs.zsh.enable = true;
|
|
users.users.root.shell = pkgs.zsh;
|
|
|
|
home-manager.root.pink = {
|
|
programs.zsh = {
|
|
enable = true;
|
|
shellAliases = {
|
|
# docker
|
|
dc = "docker compose";
|
|
dco = "docker container";
|
|
dn = "docker network";
|
|
dv = "docker volume";
|
|
};
|
|
|
|
loginExtra = ''
|
|
PROMPT="[%M] %~ "
|
|
'';
|
|
antidote = {
|
|
enable = true;
|
|
plugins = [
|
|
"marlonrichert/zsh-autocomplete"
|
|
"zsh-users/zsh-syntax-highlighting"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|