Files
My_NixOS_Config/nixos/worklaptop/theming.nix
Cian Hughes 51f65717a1 Switched package lists from with syntax to explicit
Appranently, the use of `with` for this is discouraged as it can cause
some kinds of compilation/linking issues. Switching to explicit
declaration is a bit more verbose, but probably makes organising into
modules easier in the long run anyway.
2025-04-14 10:58:46 +01:00

51 lines
1.0 KiB
Nix

{
config,
lib,
pkgs,
modulesPath,
...
}: {
# GTK theming
environment.sessionVariables.GTK_THEME = "Tokyonight-Dark";
# Delegate QT theming to kvantum
environment.sessionVariables.QT_STYLE_OVERRIDE = "kvantum";
# Fonts
fonts = {
enableDefaultPackages = true;
fontDir.enable = true;
fontconfig = {
defaultFonts = {
serif = ["NotoSerifNerdFont"];
sansSerif = ["NotoSansNerdFont"];
monospace = ["MonaspiceArNerdFontMono"];
};
};
packages = [
pkgs.corefonts
pkgs.liberation_ttf
pkgs.nerdfonts
pkgs.nerd-font-patcher
pkgs.noto-fonts
pkgs.noto-fonts-color-emoji
pkgs.vistafonts
pkgs.winePackages.fonts
];
};
# Theming packages
environment.systemPackages = [
# Cursor
pkgs.hyprcursor
# QT
pkgs.libsForQt5.qtstyleplugin-kvantum
pkgs.qt6Packages.qtstyleplugin-kvantum
# Adwaita (i love gnome, but god damn is adwaita annoying on other DEs)
pkgs.adwaita-icon-theme
pkgs.libadwaita
];
}