nix-dotfiles/home/stylix.nix

44 lines
855 B
Nix
Raw Normal View History

2024-09-11 12:03:23 +02:00
{ pkgs, lib, ... }:
2024-06-17 21:40:17 +02:00
{
stylix.enable = true;
2024-09-11 12:03:23 +02:00
stylix.image = "/etc/nixos/nix-dotfiles/home/assets/wallpaper.jpg";
2024-06-17 21:40:17 +02:00
2024-09-11 12:03:23 +02:00
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/apathy.yaml";
2024-06-17 21:40:17 +02:00
# stylix.fonts = {
# monospace = {
# package = pkgs.nerdfonts.override {fonts = [“JetBrainsMono”];};
# name = “JetBrainsMono Nerd Font Mono”;
# };
# sansSerif = {
# package = pkgs.dejavu_fonts;
# name = “DejaVu Sans”;
# };
# serif = {
# package = pkgs.dejavu_fonts;
# name = “DejaVu Serif”;
# };
# };
# stylix.fonts.sizes = {
# applications = 16;
# terminal = 12;
# desktop = 12;
# popups = 12;
# };
stylix.opacity = {
applications = 1.0;
terminal = 0.8;
desktop = 1.0;
2024-09-11 12:03:23 +02:00
popups = 0.9;
2024-06-17 21:40:17 +02:00
};
2024-09-11 12:03:23 +02:00
stylix.polarity = "dark"; # “light” or “either”
2024-06-17 21:40:17 +02:00
}