more progress

This commit is contained in:
Chris Kruining 2025-07-24 11:33:23 +02:00
parent a03240d99d
commit f1c89a0ec1
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
31 changed files with 256 additions and 487 deletions

View file

@ -0,0 +1,48 @@
{ inputs, config, lib, pkgs, namespace, ... }:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.${namespace}.theming;
in
{
imports = [
inputs.stylix.nixosModules.stylix
];
options.${namespace}.theming = {
enable = mkEnableOption "enable theming";
};
config = mkIf cfg.enable {
stylix = {
enable = true;
autoEnable = true;
# base16Scheme = "${pkgs.base16-schemes}/share/themes/${cfg.theme}.yaml";
# image = ./${cfg.theme}.jpg;
# polarity = cfg.polarity;
fonts = {
serif = {
package = pkgs.dejavu_fonts;
name = "DejaVu Serif";
};
sansSerif = {
package = pkgs.dejavu_fonts;
name = "DejaVu Sans";
};
monospace = {
package = pkgs.nerd-fonts.jetbrains-mono;
name = "JetBrainsMono Nerd Font Mono";
};
emoji = {
package = pkgs.noto-fonts-emoji;
name = "Noto Color Emoji";
};
};
};
};
}