nix-config/modules/features/desktop/theme-stylix.nix
2026-04-18 00:38:37 -04:00

84 lines
2.2 KiB
Nix

{ ... }:
{
config.dendritic.features = {
theme-home-stylix = {
includeInEmbeddedHomeManager = false;
homeModules = [
(
{ inputs, pkgs, ... }:
{
imports = [
inputs.stylix.homeModules.stylix
];
stylix = {
enable = true;
base16Scheme = builtins.fetchurl {
url = "https://raw.githubusercontent.com/scottmckendry/cyberdream.nvim/main/extras/base16/cyberdream-light.yaml";
sha256 = "07fpphdx396wi7093dqyhvpmacnradi7xqxxcwp89x9pnwqxjvq3";
};
cursor = {
name = "phinger-cursors-light";
package = pkgs.phinger-cursors;
size = 20;
};
fonts = {
serif = {
package = pkgs.lmodern;
name = "Latin Modern Roman";
};
sansSerif = {
package = pkgs.inter;
name = "Inter";
};
monospace = {
package = pkgs.fira-code;
name = "Fire Code";
};
emoji = {
package = pkgs.noto-fonts-color-emoji;
name = "Noto Color Emoji";
};
sizes = {
applications = 13;
desktop = 13;
popups = 13;
terminal = 13;
};
};
};
}
)
];
};
theme-system-stylix.nixosModules = [
(
{ inputs, pkgs, ... }:
{
imports = [
inputs.stylix.nixosModules.stylix
];
stylix = {
enable = true;
base16Scheme = builtins.fetchurl {
url = "https://raw.githubusercontent.com/scottmckendry/cyberdream.nvim/main/extras/base16/cyberdream-light.yaml";
sha256 = "07fpphdx396wi7093dqyhvpmacnradi7xqxxcwp89x9pnwqxjvq3";
};
fonts = {
monospace = {
name = "JetBrainsMono Nerd Font";
};
};
};
}
)
];
};
}