stylix: rename homeManagerModules to homeModules (#1267)

Link: https://github.com/danth/stylix/pull/1267
Link: https://github.com/nix-community/home-manager/pull/6406

Reviewed-by: eveeifyeve <88671402+Eveeifyeve@users.noreply.github.com>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
awwpotato 2025-05-16 07:39:50 -07:00 committed by GitHub
parent 7566bc0150
commit 0e5b1613bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 14 additions and 9 deletions

View file

@ -161,7 +161,7 @@ by someone else.
homeConfigurations."«username»" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
modules = [
stylix.homeManagerModules.stylix
stylix.homeModules.stylix
./home.nix
];
};
@ -192,7 +192,7 @@ If you haven't enabled flakes yet or don't want to use this feature,
enabled. This means that once you have a copy of this repo, using either a local
checkout, [niv](https://github.com/nmattia/niv), or any other method, you can
import it to get the NixOS module as the `nixosModules.stylix` attribute and the
Home Manager module as the `homeManagerModules.stylix` attribute.
Home Manager module as the `homeModules.stylix` attribute.
```nix
let
@ -204,7 +204,7 @@ let
};
in
{
imports = [ (import stylix).homeManagerModules.stylix ];
imports = [ (import stylix).homeModules.stylix ];
stylix = {
enable = true;