11.stylix/stylix/hm/cursor.nix
2023-11-18 10:19:20 +00:00

19 lines
328 B
Nix

{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.stylix.cursor;
in {
imports = [ ../cursor.nix ];
config = mkIf pkgs.stdenv.hostPlatform.isLinux {
home.pointerCursor = {
name = cfg.name;
package = cfg.package;
size = cfg.size;
x11.enable = true;
gtk.enable = true;
};
};
}