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:
parent
cc4216117a
commit
90c9d16d62
1 changed files with 8 additions and 10 deletions
|
|
@ -25,10 +25,9 @@
|
|||
};
|
||||
};
|
||||
|
||||
home-manager.users.fred = {
|
||||
imports = [ inputs.stylix.homeModules.stylix ];
|
||||
|
||||
stylix.targets = {
|
||||
# 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;
|
||||
|
|
@ -36,5 +35,4 @@
|
|||
hyprland.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue