Working on hyprland config

This commit is contained in:
2026-03-15 17:49:28 +00:00
parent 674ab3d20a
commit 868e36dd5d
+2 -3
View File
@@ -9,7 +9,7 @@
let
hyprlandFiles = builtins.attrNames (builtins.readDir "${flakeRoot}/assets/hyprland/conf/hypr");
# Filter out hyprland.conf from the list of files to symlink
# Filter out hyprland.conf from the list of files to copy directly
otherHyprlandFiles = lib.filter (name: name != "hyprland.conf") hyprlandFiles;
in
{
@@ -27,11 +27,10 @@ in
enable = true;
};
# Symlink all files except hyprland.conf
# Copy all files except hyprland.conf
home.file = lib.genAttrs otherHyprlandFiles (name: {
target = "/.config/hypr/${name}";
source = "${flakeRoot}/assets/hyprland/conf/hypr/${name}";
createSymlink = true;
});
# Append the base config to hyprland.conf, preserving manual changes