finding hyprland.conf error

This commit is contained in:
2026-03-15 11:38:04 +00:00
parent 5a75fcfbdc
commit 041a185e00
+4 -3
View File
@@ -9,7 +9,6 @@
let let
hyprlandConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/hypr"; hyprlandConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/hypr";
# Dynamically read all files in assets/hyprland/conf/hypr
files = builtins.attrNames (builtins.readDir "${flakeRoot}/assets/hyprland/conf/hypr"); files = builtins.attrNames (builtins.readDir "${flakeRoot}/assets/hyprland/conf/hypr");
hyprlandConfs = lib.genAttrs files (name: { hyprlandConfs = lib.genAttrs files (name: {
text = builtins.readFile "${flakeRoot}/assets/hyprland/conf/hypr/${name}"; text = builtins.readFile "${flakeRoot}/assets/hyprland/conf/hypr/${name}";
@@ -41,7 +40,9 @@ in
} }
// hyprlandConfs; // hyprlandConfs;
# Debug: Print the list of files being read # Write the list of files to a debug file
debug.files = files; xdg.configFile."hypr/debug-files.txt" = {
text = builtins.concatStringsSep "\n" files;
};
}; };
} }