diff --git a/flake.nix b/flake.nix index f5d9ae2..9708b94 100644 --- a/flake.nix +++ b/flake.nix @@ -97,11 +97,12 @@ # Move overlay outside system-specific outputs } - )) // { + )) + // { overlays.default = final: prev: { waycast = self.packages.${final.stdenv.hostPlatform.system}.default; }; - + homeManagerModules.default = import ./modules/home-manager/waycast.nix; }; } diff --git a/modules/home-manager/waycast.nix b/modules/home-manager/waycast.nix index 2834227..adab243 100644 --- a/modules/home-manager/waycast.nix +++ b/modules/home-manager/waycast.nix @@ -78,7 +78,7 @@ in ]; # Ensure cache and data dirs exist to avoid runtime errors in the future - home.file."${config.xdg.cacheHome}/waycast".isDir = true; - home.file."${config.xdg.dataHome}/waycast".isDir = true; + home.file."${config.xdg.cacheHome}/waycast/.keep".text = ""; + home.file."${config.xdg.dataHome}/waycast/.keep".text = ""; }; }