nixos-private-dots/modules/nixos/stylix.nix
Buliway 356c37f179 Update system to latest unstable and Linux 6.18.5
Changes
- Update pkgs to latest unstable (2026.01.19) and spkgs to 25.05
- Fix qt5 "end of life" and use `sddm qt5`
- Fix mpv config symlink
- Fix starship config
- Refactor `packages.nix`
- Rename `hardware.pulseaudio` to `services.pulseaudio`
- Use `qview` as a default image viewer
- Disable `qt` theme settings in `./shit/`. Stylix now works with Qt
- Enable `flatpak`, `grub OS prober`
- Install `kubernetes`, `godot`, `ldtk`, `adb`, `throne`, `amnezia`
- Update `neovim` to 0.11
- Delete `vscode.nix`, `imv.nix`, `git.nix`, `lynx.nix`
- Delete `mtr`, `ollama`, `pg-admin4`, `postgres-lsp`, `lynx`, `imv`, `feh`, `osu`, `gimp`
- Delete `rustup` and `driwio` cuz no binary cache
- Commented many packages
2026-01-19 06:11:22 +03:00

65 lines
2 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Управление системной темой
# Часть настроек вынесено в bspwm.nix
{ pkgs, config, ... }: {
stylix = { # Wiki - https://stylix.danth.me/options/nixos.html
enable = true;
# autoEnable = true;
polarity = "dark"; # "light" or "either". Если "either", то он сам определяет что будет красивее
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-medium.yaml"; # Если хочешь генерить тему из обоев, то удали эту строку
# image = config.lib.stylix.pixel "base00"; # Вместо обоев будет заливка фона одним цветом из темы
image = ./nix-glow-gruvbox.jpg; # Если хочешь норм обои, то просто укажи путь до изображения
cursor = {
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Ice";
size = 24; # default = 32
};
fonts = {
# Ширина символов одинаковая
monospace = { # default = DejaVu Sans Mono
package = pkgs.nerd-fonts.jetbrains-mono;
name = "JetBrainsMonoNL Nerd Font Mono";
};
emoji = { # default = Noto Color Emoji
package = pkgs.noto-fonts-color-emoji;
name = "Noto Color Emoji";
};
# Без засечек
sansSerif = { # default = DejaVu Sans
package = pkgs.nerd-fonts.noto;
name = "NotoSans Nerd Font";
};
# С засечками
serif = { # default = DejaVu Serif
package = pkgs.dejavu_fonts;
name = "DejaVu Serif";
# package = pkgs.noto-fonts;
# name = "Noto Serif";
};
# sizes = {
# applications = 12;
# terminal = 15;
# desktop = 10;
# popups = 10;
# };
};
# opacity = {
# applications = 1.0;
# terminal = 1.0;
# desktop = 1.0;
# popups = 1.0;
# };
};
}