Skip to content

Commit

Permalink
fix(modules): improve module deduplication by using direct file refer…
Browse files Browse the repository at this point in the history
…ence

Change module import from `import ./modules` to `./modules` to:
- Ensure proper _file attribute definition
- Enable correct module deduplication
- Improve error message clarity

This fixes issues with multiple imports of modules by letting Nix
automatically handle file path tracking and deduplication.
  • Loading branch information
HeitorAugustoLN committed Jan 25, 2025
1 parent 188d782 commit ee89ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
flake = {
homeManagerModules = {
default = inputs.self.homeManagerModules.cosmic-manager;
cosmic-manager = import ./modules;
cosmic-manager = ./modules;
};
};

Expand Down

0 comments on commit ee89ab2

Please sign in to comment.