diff --git a/Droidnix/generated/hyprland/hyprland.nix b/Droidnix/generated/hyprland/hyprland.nix index fdf1b5d31..d919ee95c 100644 --- a/Droidnix/generated/hyprland/hyprland.nix +++ b/Droidnix/generated/hyprland/hyprland.nix @@ -39,10 +39,13 @@ in } // hyprlandConfs; - # Use a postBuild hook to copy files - postBuild = '' - mkdir -p ~/.config/hypr/ - cp ${flakeRoot}/assets/hyprland/conf/hypr/* ~/.config/hypr/ - ''; + # Use home-files to copy files + home-files = [ + { + path = "hypr"; + source = "${flakeRoot}/assets/hyprland/conf/hypr"; + recursive = true; + } + ]; }; }