home: change some config to use stylix

This commit is contained in:
NullBite 2024-05-23 03:14:32 -04:00
parent 19460ea48f
commit 8f8421b2be
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A
2 changed files with 35 additions and 7 deletions

View File

@ -76,12 +76,37 @@ in {
};
};
home.pointerCursor = {
stylix = {
enable = true;
autoEnable = true;
cursor = {
package = lib.mkDefault ctp.packages.cursors;
name = lib.mkDefault ctp.names.cursors;
size = lib.mkDefault 24;
x11.enable = lib.mkDefault true;
gtk.enable = lib.mkDefault true;
# x11.enable = lib.mkDefault true;
# gtk.enable = lib.mkDefault true;
};
fonts = let
ubuntu = pkgs.ubuntu_font_family;
in {
# packages = with pkgs; [
# ubuntu_font_family
# noto-fonts-emoji-blob-bin
# ];
emoji = {
package = pkgs.noto-fonts-emoji-blob-bin;
name = "Blobmoji";
};
monospace = {
package = ubuntu;
name = "Ubuntu Mono";
};
sansSerif = {
package = ubuntu;
name = "Ubuntu";
};
};
};
};
}

View File

@ -16,7 +16,10 @@
};
home.stateVersion = "23.11";
home.pointerCursor = lib.mkIf config.nixfiles.theming.enable { size = 32; };
# TODO mkif stylix.enable; danth/stylix#216
home.pointerCursor = lib.mkIf (config.nixfiles.theming.enable && !config.stylix.enable) { size = 32; };
stylix.cursor = { size = 32; };
nixfiles.theming.catppuccin.themeDPI = "hdpi";
wayland.windowManager.hyprland.settings = {