home: x: use new options for cursor

This commit is contained in:
Antoine Martin 2022-05-09 03:36:09 +02:00
parent 1175b46af8
commit ad56bf45c9

View file

@ -15,12 +15,13 @@ in {
options.my.home.x.cursor.enable = (mkEnableOption "X cursor") // {default = config.my.home.x.enable;}; options.my.home.x.cursor.enable = (mkEnableOption "X cursor") // {default = config.my.home.x.enable;};
config = mkIf cfg.enable { config = mkIf cfg.enable {
xsession.pointerCursor = { home.pointerCursor = {
package = pkgs.capitaine-cursors; package = pkgs.capitaine-cursors;
name = "capitaine-cursors"; name = "capitaine-cursors";
# available sizes for capitaine-cursors are: # available sizes for capitaine-cursors are:
# 24, 30, 36, 48, 60, 72 # 24, 30, 36, 48, 60, 72
size = 30; size = 30;
x11.enable = true;
}; };
}; };
} }