1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-08 18:33:52 +00:00
ultima/modules/home/themes/stylix/default.nix
2024-11-24 17:17:07 +09:00

79 lines
1.7 KiB
Nix

{ pkgs, lib, config, inputs, True, False, ... }:
with lib;
let
cfg = config.module.themes.stylix;
wal = inputs.design;
in {
options = {
module.themes.stylix = {
enable = mkEnableOption "";
theme = mkOption {
default = null;
type = types.str;
};
image = mkOption {
default = null;
type = types.str;
};
};
};
imports = [ inputs.stylix.homeManagerModules.stylix ../../../colors.nix ];
config = mkIf cfg.enable {
stylix = with pkgs;
True // {
autoEnable = false;
image = "${wal}/wallpapers/paradise/${cfg.image}.jpg";
cursor = {
name = "GoogleDot-Black";
package = google-cursor;
size = 20;
};
fonts = let
jet = {
name = "JetBrainsMono NerdFont";
package = nerdfonts.override { fonts = [ "JetBrainsMono" ]; };
};
in {
serif = jet;
monospace = jet;
emoji = {
name = "OpenMoji Color";
package = noto-fonts-emoji;
};
sizes = {
desktop = 10;
popups = 10;
applications = 12;
terminal = 12;
};
};
targets = {
# CLI
tmux = True;
fish = True;
nushell = True;
# WM
hyprland = True;
sway = True;
foot = True;
kitty = True;
mako = False;
# TOOLS
nixvim = True;
yazi = True;
fzf = True;
bat = True;
mangohud = True;
# GUI
vesktop = True;
qutebrowser = True;
firefox = True;
gtk = True;
};
};
};
}