64 lines
1.3 KiB
Nix
64 lines
1.3 KiB
Nix
{ pkgs, ... }:
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
vim
|
|
neovim
|
|
python313Packages.pynvim
|
|
git
|
|
hyfetch
|
|
fzf
|
|
fzf-zsh
|
|
];
|
|
|
|
environment.variables = {
|
|
EDITOR = "nvim";
|
|
};
|
|
|
|
|
|
programs.tmux = {
|
|
enable = true;
|
|
clock24 = true;
|
|
extraConfig = ''
|
|
|
|
'';
|
|
};
|
|
|
|
programs.zsh = {
|
|
enable = true;
|
|
enableCompletion = true;
|
|
autosuggestions.enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
|
|
histSize = 4096;
|
|
histFile = "$HOME/.zsh_history";
|
|
setOptions = [
|
|
"HIST_IGNORE_ALL_DUPS"
|
|
];
|
|
|
|
shellAliases = {
|
|
ll = "ls -lh";
|
|
nix-check = "nixos-rebuild build";
|
|
nix-update = "sudo nixos-rebuild switch";
|
|
sirc = "ssh -t nichkara.eu tmux new-session -A -s weechat weechat";
|
|
};
|
|
|
|
ohMyZsh = {
|
|
enable = true;
|
|
plugins = [
|
|
"git"
|
|
"z"
|
|
"dotenv"
|
|
"battery"
|
|
"emoji"
|
|
"emoji-clock"
|
|
"fzf"
|
|
"kitty"
|
|
"themes"
|
|
"tmux"
|
|
"vi-mode"
|
|
];
|
|
theme = "sonicradish";
|
|
};
|
|
};
|
|
}
|