From 5a75fcfbdc2e1699110da5f1ac48170a1f5c43fc Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Sun, 15 Mar 2026 11:36:00 +0000 Subject: [PATCH] finding hyprland.conf error --- Droidnix/generated/hyprland/hyprland.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Droidnix/generated/hyprland/hyprland.nix b/Droidnix/generated/hyprland/hyprland.nix index a359e0355..d48ff0058 100644 --- a/Droidnix/generated/hyprland/hyprland.nix +++ b/Droidnix/generated/hyprland/hyprland.nix @@ -10,11 +10,10 @@ let hyprlandConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/hypr"; # Dynamically read all files in assets/hyprland/conf/hypr - hyprlandConfs = - lib.genAttrs (builtins.attrNames (builtins.readDir "${flakeRoot}/assets/hyprland/conf/hypr")) - (name: { - text = builtins.readFile "${flakeRoot}/assets/hyprland/conf/hypr/${name}"; - }); + files = builtins.attrNames (builtins.readDir "${flakeRoot}/assets/hyprland/conf/hypr"); + hyprlandConfs = lib.genAttrs files (name: { + text = builtins.readFile "${flakeRoot}/assets/hyprland/conf/hypr/${name}"; + }); in { # NixOS: Enable Hyprland (optional)