mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-09 19:23:52 +00:00
75 lines
1.6 KiB
Nix
75 lines
1.6 KiB
Nix
|
{ pkgs, lib, config, inputs, True, False, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
let
|
||
|
cfg = config.module.themes.stylix;
|
||
|
wal = inputs.walls;
|
||
|
in {
|
||
|
options = {
|
||
|
module.themes.stylix = {
|
||
|
enable = mkEnableOption "";
|
||
|
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}/desktop/${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;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|