nix-config/home/wm/cursor/default.nix
Bruno BELANYI b587323095 home: migrate 'cursor' module to new option
Make it part of 'home.wm' now, since that makes more sense.

Not sure about making it related to 'i3' being activated though, will
need to think about this in the future.
2022-06-15 11:27:03 +02:00

24 lines
396 B
Nix

{ config, lib, pkgs, ... }:
let
cfg = config.my.home.wm.cursor;
cfg_x = config.my.home.x;
cfg_gtk = config.my.home.gtk;
in
{
config = lib.mkIf cfg.enable {
home.pointerCursor = {
package = pkgs.ambroisie.vimix-cursors;
name = "Vimix-cursors";
x11 = {
inherit (cfg_x) enable;
};
gtk = {
inherit (cfg_gtk) enable;
};
};
};
}