shared/nixosModules/style: use sharedModules

This commit is contained in:
Anthony Rodriguez 2024-12-18 19:23:28 +01:00
parent 1271294049
commit 66ff9820f8
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -21,12 +21,14 @@ in {
mkIf
cfg.enable
{
home-manager.users.${config.local.systemVars.username} = {
home.pointerCursor = {
inherit (cfg.cursorTheme) name package size;
x11.enable = true;
gtk.enable = true;
};
};
home-manager.sharedModules = [
{
home.pointerCursor = {
inherit (cfg.cursorTheme) name package size;
x11.enable = true;
gtk.enable = true;
};
}
];
};
}