Skip to content

Commit

Permalink
stylix: reset 'stylix/nixos/default.nix' file
Browse files Browse the repository at this point in the history
  • Loading branch information
trueNAHO committed May 11, 2024
1 parent bb423c7 commit c6534b5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions stylix/nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ in {
};
};

config.home-manager.sharedModules =
lib.mkIf
(config.stylix.enable && options ? home-manager && hm.autoImport)
[ homeManagerModule ];
config = lib.optionalAttrs (options ? home-manager) (lib.mkIf hm.autoImport {
home-manager.sharedModules = [ homeManagerModule ];
});
}

0 comments on commit c6534b5

Please sign in to comment.