update model to modular structure

This commit is contained in:
2026-02-22 06:17:06 +01:00
parent 9e1725a408
commit c800117125
6 changed files with 30 additions and 20 deletions

View File

@@ -0,0 +1,63 @@
{ 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";
};
};
}