16 lines
312 B
Nix
16 lines
312 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
cfg = config.stylix.cursor;
|
|
|
|
in {
|
|
imports = [ ../cursor.nix ];
|
|
|
|
config = lib.mkIf (config.stylix.enable && pkgs.stdenv.hostPlatform.isLinux) {
|
|
home.pointerCursor = {
|
|
inherit (cfg) name package size;
|
|
x11.enable = true;
|
|
gtk.enable = true;
|
|
};
|
|
};
|
|
}
|