finding hyprland.conf error
This commit is contained in:
@@ -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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user