From 66ff9820f8edc98350544df6848cfcc30c9deb77 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Wed, 18 Dec 2024 19:23:28 +0100 Subject: [PATCH] shared/nixosModules/style: use sharedModules --- shared/nixosModules/style/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/shared/nixosModules/style/default.nix b/shared/nixosModules/style/default.nix index cbeae11..b45a5a2 100644 --- a/shared/nixosModules/style/default.nix +++ b/shared/nixosModules/style/default.nix @@ -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; + }; + } + ]; }; }