From 086c81899141ead24228f4aec337f3bef68a2888 Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Sun, 15 Mar 2026 12:10:48 +0000 Subject: [PATCH] finding hyprland.conf error --- Droidnix/generated/hyprland/hyprland.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Droidnix/generated/hyprland/hyprland.nix b/Droidnix/generated/hyprland/hyprland.nix index 0ef445499..fdf1b5d31 100644 --- a/Droidnix/generated/hyprland/hyprland.nix +++ b/Droidnix/generated/hyprland/hyprland.nix @@ -38,13 +38,11 @@ in }; } // hyprlandConfs; - }; - # Create a derivation to copy files - environment.systemPackages = with pkgs; [ - (pkgs.writeShellScriptBin "copy-hyprland-files" '' + # Use a postBuild hook to copy files + postBuild = '' mkdir -p ~/.config/hypr/ cp ${flakeRoot}/assets/hyprland/conf/hypr/* ~/.config/hypr/ - '') - ]; + ''; + }; }