From c9eac3dc499612ccac675095bf3edd425462d59c Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Sun, 15 Mar 2026 12:36:22 +0000 Subject: [PATCH] finding hyprland.conf error --- Droidnix/generated/hyprland/hyprland.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Droidnix/generated/hyprland/hyprland.nix b/Droidnix/generated/hyprland/hyprland.nix index b73a67207..dc903d116 100644 --- a/Droidnix/generated/hyprland/hyprland.nix +++ b/Droidnix/generated/hyprland/hyprland.nix @@ -25,16 +25,17 @@ in enable = true; }; - # First create the directory structure + # Create all files using home.file + home.file = lib.genAttrs hyprlandFiles (name: { + target = "/.config/hypr/${name}"; + source = "${flakeRoot}/assets/hyprland/conf/hypr/${name}"; + }); + + # Create the directory structure xdg.configFile = { "hypr/.keep" = { text = ""; }; - } - // lib.genAttrs hyprlandFiles (name: { - "hypr/${name}" = { - source = "${flakeRoot}/assets/hyprland/conf/hypr/${name}"; - }; - }); + }; }; }