From ee89ab2214e35d45ad66af72328bf11ba2065fce Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Sat, 25 Jan 2025 19:21:43 -0300 Subject: [PATCH] fix(modules): improve module deduplication by using direct file reference 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. --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 0c625cb..d6be93c 100644 --- a/flake.nix +++ b/flake.nix @@ -24,7 +24,7 @@ flake = { homeManagerModules = { default = inputs.self.homeManagerModules.cosmic-manager; - cosmic-manager = import ./modules; + cosmic-manager = ./modules; }; };