Skip to content

Commit de26806

Browse files
committed
fix(home-manager): remove incomplete pointerCursor config
Remove incomplete home.pointerCursor configuration that was causing build errors. The pointerCursor option requires all of name, package, and size to be set when enable = true. This fixes the error: error: The option 'home-manager.users.mar.home.pointerCursor.name' was accessed but has no value defined. Stylix handles cursor configuration automatically at the system level, so we only need to provide additional cursor packages without manually enabling the pointerCursor option.
1 parent 3bd881d commit de26806

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

modules/home-manager/theming/cursors.nix

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@
1313
banana-cursor
1414
catppuccin-cursors
1515
];
16-
home.pointerCursor = {
17-
enable = true;
18-
};
1916

20-
# NOTE: stylix.cursor is configured at system level (nixosModules.stylix)
21-
# which auto-configures home-manager cursor settings
17+
# NOTE: Cursor configuration is handled by stylix at the system level
18+
# (nixosModules.stylix or darwinModules.stylix) which automatically
19+
# configures home.pointerCursor with name, package, and size.
20+
# We only provide additional cursor packages here.
2221
};
2322
}

0 commit comments

Comments
 (0)