17b0cdfbac
- Introduced `08-structure.md` detailing project structure, main files, and versioning. - Created `README.md` for documentation overview and quick start guide. - Added user-specific configurations for Alacritty, Vim, Micro, Git, Zsh, Tmux, and tools. - Implemented system modules for desktop environment (KDE Plasma), audio (PipeWire), networking, and services (OpenSSH, GnuPG). - Configured Nix settings with flakes support and garbage collection. - Established user management for `ada` with necessary groups and shell settings. - Enabled VirtualBox guest additions for improved VM experience.
33 lines
997 B
Nix
33 lines
997 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
# Micro - современный терминальный редактор
|
|
programs.micro = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
# Автосохранение и undo
|
|
autosu = true;
|
|
saveundo = true;
|
|
savecursor = true;
|
|
|
|
# Цветовая схема
|
|
colorscheme = "simple";
|
|
|
|
# Поведение
|
|
mkparents = true; # Создавать родительские директории
|
|
rmtrailingws = true; # Удалять trailing whitespace
|
|
tabstospaces = true; # Заменять табы на пробелы
|
|
scrollbar = true; # Показывать scrollbar
|
|
|
|
# Строка состояния
|
|
statusformatl = "$(filename) $(modified)($(line),$(col)) $(opt:filetype) $(opt:fileformat)";
|
|
};
|
|
};
|
|
|
|
# Добавить micro в $PATH и установить как основной редактор
|
|
home.sessionVariables = {
|
|
EDITOR = "micro";
|
|
};
|
|
}
|