@@ -22,7 +22,7 @@ screens, and display managers.
22
22
nixosConfigurations."«hostname»" = nixpkgs.lib.nixosSystem {
23
23
system = "x86_64-linux";
24
24
modules = [
25
- stylix.nixosModules.stylix
25
+ stylix.nixosModules.default
26
26
./configuration.nix
27
27
];
28
28
};
@@ -85,7 +85,7 @@ to NixOS via [Flakes][nix-flakes].
85
85
darwinConfigurations."«hostname»" = darwin.lib.darwinSystem {
86
86
system = "aarch64-darwin";
87
87
modules = [
88
- stylix.darwinModules.stylix
88
+ stylix.darwinModules.default
89
89
./configuration.nix
90
90
];
91
91
};
@@ -129,7 +129,7 @@ similar fashion to NixOS via [Flakes][nix-flakes].
129
129
nixOnDroidConfigurations.default = nix-on-droid.lib.nixOnDroidConfiguration {
130
130
pkgs = nixpkgs.legacyPackages."aarch64-linux";
131
131
modules = [
132
- stylix.nixOnDroidModules.stylix
132
+ stylix.nixOnDroidModules.default
133
133
./nix-on-droid.nix
134
134
];
135
135
};
@@ -176,7 +176,7 @@ by someone else.
176
176
homeConfigurations."«username»" = home-manager.lib.homeManagerConfiguration {
177
177
pkgs = nixpkgs.legacyPackages.x86_64-linux;
178
178
modules = [
179
- stylix.homeModules.stylix
179
+ stylix.homeModules.default
180
180
./home.nix
181
181
];
182
182
};
@@ -206,8 +206,8 @@ If you haven't enabled flakes yet or don't want to use this feature,
206
206
` default.nix ` re-exports all the flake outputs, without requiring flakes to be
207
207
enabled. This means that once you have a copy of this repo, using either a local
208
208
checkout, [ niv] ( https://github.com/nmattia/niv ) , or any other method, you can
209
- import it to get the NixOS module as the ` nixosModules.stylix ` attribute and the
210
- Home Manager module as the ` homeModules.stylix ` attribute.
209
+ import it to get the NixOS module as the ` nixosModules.default ` attribute and
210
+ the Home Manager module as the ` homeModules.default ` attribute.
211
211
212
212
``` nix
213
213
{ pkgs, ... }:
220
220
};
221
221
in
222
222
{
223
- imports = [ (import stylix).homeModules.stylix ];
223
+ imports = [ (import stylix).homeModules.default ];
224
224
225
225
stylix = {
226
226
enable = true;
0 commit comments