Remove warnings

This commit is contained in:
muon 2026-04-13 10:42:58 +00:00
parent fdb7391a32
commit 469b1f78b4
8 changed files with 15 additions and 5 deletions

View file

@ -8,6 +8,11 @@ in {
config = {
home-manager = {
extraSpecialArgs = { inherit system pkgs inputs sources; };
# When stylix is enabled it injects its own HM module (and followSystem
# copyModules) via homeManagerIntegration.autoImport. Only add it here
# for hosts where stylix is disabled so that stylix options are still
# declared (even if unused) in every home-manager context.
sharedModules = lib.optional (!config.stylix.enable) inputs.stylix.homeModules.stylix;
users."${cfg.user.name}" = {
imports =
[ cfg.home.file inputs.self.outputs.homeManagerModules.default ];