Skip to content

Commit

Permalink
Follow the new schema for default nixosModule and darwinModule
Browse files Browse the repository at this point in the history
  • Loading branch information
yelite committed Mar 23, 2024
1 parent 4c2ebc1 commit 3f66f74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@ toplevel @ {
else hostConfig.hostModule;
homeManagerSystemModule =
if hostPlatform.isLinux
then cfg.homeManagerFlake.nixosModule
then cfg.homeManagerFlake.nixosModules.default
else if hostPlatform.isDarwin
then cfg.homeManagerFlake.darwinModule
then cfg.homeManagerFlake.darwinModules.default
else throw "System type ${hostPlatform.system} not supported.";
specialArgs = {
inherit inputs hostPlatform;
Expand Down

0 comments on commit 3f66f74

Please sign in to comment.