19 lines
328 B
Nix
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;
|
|
};
|
|
};
|
|
}
|