From 84966cbeb1d7f566241e8a2df4b0138cb589dcd8 Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Sun, 15 Mar 2026 12:09:35 +0000 Subject: [PATCH] finding hyprland.conf error --- Droidnix/generated/hyprland/hyprland.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Droidnix/generated/hyprland/hyprland.nix b/Droidnix/generated/hyprland/hyprland.nix index c6edaf2cb..0ef445499 100644 --- a/Droidnix/generated/hyprland/hyprland.nix +++ b/Droidnix/generated/hyprland/hyprland.nix @@ -40,9 +40,11 @@ in // hyprlandConfs; }; - # Manually copy files using a shell command - system.activationScripts.copyHyprlandFiles = '' - mkdir -p ~/.config/hypr/ - cp ${flakeRoot}/assets/hyprland/conf/hypr/* ~/.config/hypr/ - ''; + # Create a derivation to copy files + environment.systemPackages = with pkgs; [ + (pkgs.writeShellScriptBin "copy-hyprland-files" '' + mkdir -p ~/.config/hypr/ + cp ${flakeRoot}/assets/hyprland/conf/hypr/* ~/.config/hypr/ + '') + ]; }