home: change some config to use stylix
This commit is contained in:
parent
19460ea48f
commit
8f8421b2be
@ -76,12 +76,37 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
home.pointerCursor = {
|
||||
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;
|
||||
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;
|
||||
};
|
||||
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user