From b141732986d987bcaa285bbf0ac348b8878f4867 Mon Sep 17 00:00:00 2001 From: Javier Feliz Date: Sun, 7 Sep 2025 20:34:49 -0400 Subject: [PATCH] Fix small mistake --- flake.nix | 5 +++-- modules/home-manager/waycast.nix | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) 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 = ""; }; }