home: change some config to use stylix
This commit is contained in:
parent
19460ea48f
commit
8f8421b2be
@ -76,12 +76,37 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.pointerCursor = {
|
stylix = {
|
||||||
package = lib.mkDefault ctp.packages.cursors;
|
enable = true;
|
||||||
name = lib.mkDefault ctp.names.cursors;
|
autoEnable = true;
|
||||||
size = lib.mkDefault 24;
|
cursor = {
|
||||||
x11.enable = lib.mkDefault true;
|
package = lib.mkDefault ctp.packages.cursors;
|
||||||
gtk.enable = lib.mkDefault true;
|
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.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";
|
nixfiles.theming.catppuccin.themeDPI = "hdpi";
|
||||||
|
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user