33 lines
837 B
Nix
33 lines
837 B
Nix
{ self, inputs, ... }:
|
|
{
|
|
flake.nixosModules.cursors =
|
|
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
{
|
|
config = {
|
|
environment.systemPackages = with pkgs; [ bibata-cursors ];
|
|
hjem.users."${config.username}" = {
|
|
enable = true;
|
|
files = {
|
|
# GTK cursor settings
|
|
".config/gtk-3.0/settings.ini".text = ''
|
|
[Settings]
|
|
gtk-cursor-theme-name=Bibata-Modern-Ice
|
|
gtk-cursor-theme-size=24
|
|
'';
|
|
# X11/Wayland cursor environment
|
|
".config/environment.d/cursor.conf".text = ''
|
|
XCURSOR_THEME=Bibata-Modern-Ice
|
|
XCURSOR_SIZE=24
|
|
HYPRCURSOR_THEME=Bibata-Modern-Ice
|
|
HYPRCURSOR_SIZE=24
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|