home: x: cursor: enable by default

This commit is contained in:
Antoine Martin 2021-07-29 12:22:46 +02:00
parent 1d75c36f9e
commit afd5444a88
3 changed files with 1 additions and 3 deletions

View file

@ -3,7 +3,7 @@ let
cfg = config.my.home.x.cursor;
in
{
options.my.home.x.cursor.enable = lib.mkEnableOption "X cursor";
options.my.home.x.cursor.enable = (lib.mkEnableOption "X cursor") // { default = config.my.home.x.enable; };
config = lib.mkIf cfg.enable {
xsession.pointerCursor = {