nichts/modules/gui/stylix.nix

85 lines
2.2 KiB
Nix
Raw Normal View History

2024-05-22 14:29:45 +02:00
{
config,
pkgs,
lib,
...
}:
with lib; let
cfg = config.modules.programs.stylix;
username = config.modules.other.system.username;
2024-05-04 01:33:33 +02:00
in {
options.modules.programs.stylix.enable = mkEnableOption "stylix";
2024-05-04 01:33:33 +02:00
config = mkIf cfg.enable {
home-manager.users.${username} = {
stylix = {
polarity = "dark";
2024-05-19 23:38:49 +02:00
image = ../../assets/wallpapers/mafu_trad_wall.png;
2024-05-17 15:17:59 +02:00
base16Scheme =
2024-05-21 22:30:34 +02:00
#"${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
"${pkgs.base16-schemes}/share/themes/gruvbox-dark-pale.yaml";
autoEnable = true;
targets = {
btop.enable = true;
fish.enable = true;
2024-05-18 17:49:42 +02:00
dunst.enable = false;
emacs.enable = true;
firefox.enable = true;
kitty.enable = true;
lazygit.enable = true;
rofi.enable = true;
2024-05-21 21:40:00 +02:00
foot.enable = true;
tmux.enable = true;
waybar.enable = true;
vim.enable = true;
zathura.enable = true;
gtk.enable = true;
hyprland.enable = true;
};
opacity = {
applications = 0.9;
popups = 0.9;
desktop = 0.9;
2024-05-22 14:04:58 +02:00
terminal = 0.85;
2024-05-14 00:18:53 +02:00
};
cursor = {
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Classic";
size = 24;
2024-05-04 01:33:33 +02:00
};
fonts = {
sizes = {
terminal = 14;
popups = 14;
};
monospace = {
package =
2024-05-22 14:29:45 +02:00
pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];};
name = "JetBrainsMono";
};
serif = {
2024-05-21 21:40:00 +02:00
package = pkgs.noto-fonts;
name = "Noto Serif";
};
sansSerif = {
2024-05-21 21:40:00 +02:00
package = pkgs.lexend;
name = "Lexend";
};
emoji = {
package = pkgs.noto-fonts-emoji;
name = "Noto Color Emoji";
};
};
};
};
stylix = {
2024-05-19 23:38:49 +02:00
image = ../../assets/wallpapers/FreeBSD.png;
polarity = "dark";
2024-05-18 17:49:42 +02:00
targets.plymouth.enable = false;
2024-05-21 21:40:00 +02:00
base16Scheme =
2024-05-21 22:30:34 +02:00
#"${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
"${pkgs.base16-schemes}/share/themes/gruvbox-dark-pale.yaml";
2024-05-04 01:33:33 +02:00
};
};
2024-05-04 01:33:33 +02:00
}