nix-config/modules/home/wm/cursor/default.nix
Bruno BELANYI 65a8f7c481 home: create 'modules/home' folder
Consolidating all modules under the same path, to clear out the
top-level directory.
2023-11-11 18:12:05 +00: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;
};
};
};
}