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
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");
hyprlandConfs = lib.genAttrs files (name: {
text = builtins.readFile "${flakeRoot}/assets/hyprland/conf/hypr/${name}";
@@ -41,7 +40,9 @@ in
}
// hyprlandConfs;
# Debug: Print the list of files being read
debug.files = files;
# Write the list of files to a debug file
xdg.configFile."hypr/debug-files.txt" = {
text = builtins.concatStringsSep "\n" files;
};
};
}