nixos_config/hosts/common/stylix.nix

67 lines
1.5 KiB
Nix
Raw Normal View History

2026-01-07 19:19:47 +01:00
{ config, pkgs, lib, ... }:
{
2026-01-19 11:49:25 +01:00
stylix = {
2026-01-07 19:19:47 +01:00
enable = true;
2026-01-07 22:56:05 +01:00
autoEnable = true;
enableReleaseChecks = false;
2026-01-19 11:49:25 +01:00
base16Scheme = {
scheme = "My Custom Theme";
author = "you";
2026-01-07 19:19:47 +01:00
2026-01-19 11:49:25 +01:00
base00 = "#0f0f14";
base01 = "#16161e";
base02 = "#1f1f2a";
base03 = "#2a2a37";
base04 = "#a0a0b0";
base05 = "#c0c0d0";
base06 = "#e0e0f0";
base07 = "#ffffff";
2026-01-07 19:19:47 +01:00
2026-01-19 11:49:25 +01:00
base08 = "#f7768e"; # red
base09 = "#ff9e64"; # orange
base0A = "#e0af68"; # yellow
base0B = "#9ece6a"; # green
base0C = "#7dcfff"; # cyan
base0D = "#7aa2f7"; # blue
base0E = "#bb9af7"; # purple
base0F = "#db4b4b"; # brown
};
2026-01-07 19:19:47 +01:00
polarity = "dark";
fonts = {
monospace = {
2026-01-07 22:56:05 +01:00
package = pkgs.inconsolata;
name = "Inconsolata";
2026-01-07 19:19:47 +01:00
};
sansSerif = {
package = pkgs.inter;
name = "Inter";
};
serif = {
package = pkgs.source-serif;
name = "Source Serif 4";
};
emoji = {
2026-01-07 22:56:05 +01:00
package = pkgs.noto-fonts-color-emoji;
name = "noto-fonts-color-emoji";
2026-01-07 19:19:47 +01:00
};
sizes = {
2026-01-07 22:56:05 +01:00
applications = 14;
terminal = 14;
desktop = 14;
popups = 14;
2026-01-07 19:19:47 +01:00
};
};
cursor = {
2026-01-19 11:49:25 +01:00
package = pkgs.whitesur-cursors;
name = "WhiteSur-cursors";
2026-01-07 22:56:05 +01:00
size = 20;
2026-01-07 19:19:47 +01:00
};
2026-01-19 11:49:25 +01:00
icons = {
enable = true;
package = pkgs.whitesur-icon-theme;
light = "WhiteSur-light";
dark = "WhiteSur-dark";
};
}; # end stylix
2026-01-07 19:19:47 +01:00
}