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.
122 lines
2.9 KiB
Nix
122 lines
2.9 KiB
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
# Alacritty - GPU-ускоренный эмулятор терминала
|
|
programs.alacritty = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
# Оболочка по умолчанию с автоматическим запуском tmux
|
|
shell = {
|
|
program = "${pkgs.zsh}/bin/zsh";
|
|
args = [ "-l" "-c" "tmux new-session -A -s main" ];
|
|
};
|
|
|
|
# Настройки окна
|
|
window = {
|
|
decorations = "None"; # Без рамок и заголовка
|
|
startup_mode = "Maximized"; # Растянуто на весь экран
|
|
opacity = 0.80;
|
|
padding = {
|
|
x = 10;
|
|
y = 5;
|
|
};
|
|
};
|
|
|
|
# Шрифты
|
|
font = {
|
|
size = 15.0;
|
|
normal = {
|
|
family = "FiraCode Nerd Font Mono";
|
|
style = "Regular";
|
|
};
|
|
bold = {
|
|
family = "FiraCode Nerd Font Mono";
|
|
style = "Bold";
|
|
};
|
|
italic = {
|
|
family = "FiraCode Nerd Font Mono";
|
|
style = "Italic";
|
|
};
|
|
};
|
|
|
|
# Прокрутка
|
|
scrolling = {
|
|
history = 10000;
|
|
multiplier = 5;
|
|
};
|
|
|
|
# Выделение
|
|
selection = {
|
|
save_to_clipboard = true;
|
|
semantic_escape_chars = "@-./_~?&=%+#";
|
|
};
|
|
|
|
# Мышь
|
|
mouse = {
|
|
hide_when_typing = false;
|
|
};
|
|
|
|
# Курсор
|
|
cursor = {
|
|
blink_interval = 500;
|
|
thickness = 0.15;
|
|
style = {
|
|
shape = "Beam";
|
|
blinking = "On";
|
|
};
|
|
};
|
|
|
|
# Звуковой сигнал (отключен)
|
|
bell = {
|
|
animation = "EaseOutExpo";
|
|
duration = 0;
|
|
};
|
|
|
|
# Nord цветовая схема
|
|
# https://www.nordtheme.com/
|
|
colors = {
|
|
primary = {
|
|
background = "#2E3440";
|
|
foreground = "#D8DEE9";
|
|
};
|
|
cursor = {
|
|
text = "#2E3440";
|
|
cursor = "#D8DEE9";
|
|
};
|
|
selection = {
|
|
text = "#D8DEE9";
|
|
background = "#434C5E";
|
|
};
|
|
normal = {
|
|
black = "#3B4252";
|
|
red = "#BF616A";
|
|
green = "#A3BE8C";
|
|
yellow = "#EBCB8B";
|
|
blue = "#81A1C1";
|
|
magenta = "#B48EAD";
|
|
cyan = "#88C0D0";
|
|
white = "#E5E9F0";
|
|
};
|
|
bright = {
|
|
black = "#4C566A";
|
|
red = "#BF616A";
|
|
green = "#A3BE8C";
|
|
yellow = "#EBCB8B";
|
|
blue = "#81A1C1";
|
|
magenta = "#B48EAD";
|
|
cyan = "#8FBCBB";
|
|
white = "#ECEFF4";
|
|
};
|
|
};
|
|
|
|
# Горячие клавиши
|
|
keyboard.bindings = [
|
|
{ key = "C"; mods = "Control|Shift"; action = "Copy"; }
|
|
{ key = "V"; mods = "Control|Shift"; action = "Paste"; }
|
|
{ key = "Return"; mods = "Control|Shift"; action = "SpawnNewInstance"; }
|
|
];
|
|
};
|
|
};
|
|
}
|