stylix: don't double-import the HM module

Stylix's NixOS module already wires homeModules.stylix into each
home-manager user via its nixos/common.nix. Importing it again ourselves
produced "stylix.base16 is read-only, set multiple times" at evaluation.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-05-11 13:37:30 +01:00
parent cc4216117a
commit 90c9d16d62

View file

@ -25,16 +25,14 @@
};
};
home-manager.users.fred = {
imports = [ inputs.stylix.homeModules.stylix ];
stylix.targets = {
waybar.enable = true;
fuzzel.enable = true;
mako.enable = true;
hyprlock.enable = true;
hyprland.enable = true;
};
# Stylix's NixOS module auto-wires homeModules.stylix into every
# home-manager user, so we just opt into targets here.
home-manager.users.fred.stylix.targets = {
waybar.enable = true;
fuzzel.enable = true;
mako.enable = true;
hyprlock.enable = true;
hyprland.enable = true;
};
};
}