feat: better modules aragement.

This commit is contained in:
CronyAkatsuki 2025-03-23 20:01:51 +01:00
parent de11ee0676
commit 6e967a751f
49 changed files with 27 additions and 19 deletions

View file

@ -0,0 +1,60 @@
{
pkgs,
config,
lib,
...
}: {
options = {
crony.stylix.enable = lib.mkEnableOption "enable stylix and style my system";
};
config = lib.mkIf config.crony.stylix.enable {
# Enable sytling using stylix
stylix.enable = true;
stylix.autoEnable = true;
stylix.image = ./background.png;
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-medium.yaml";
# Change Cursor
stylix.cursor.package = pkgs.bibata-cursors;
stylix.cursor.name = "Bibata-Modern-Ice";
stylix.cursor.size = 32;
# Fix stuff not automatically using dark theme on websites
stylix.polarity = "dark";
# Change u those fonts
stylix.fonts = {
serif = {
package = pkgs.dejavu_fonts;
name = "DejaVu Serif";
};
sansSerif = {
package = pkgs.dejavu_fonts;
name = "DejaVu Sans";
};
monospace = {
package = pkgs.nerd-fonts.commit-mono;
name = "CommitMono Nerd Font";
};
emoji = {
package = pkgs.noto-fonts-emoji;
name = "Noto Color Emoji";
};
};
# Change font sizes
stylix.fonts.sizes = {
applications = 15;
desktop = 13;
popups = 13;
terminal = 15;
};
# Change chrome settings
stylix.targets.chromium.enable = false;
};
}