Working on hyprland config

This commit is contained in:
2026-03-15 17:50:58 +00:00
parent f95a66e909
commit 2e00573769
+4 -9
View File
@@ -28,10 +28,9 @@ in
}; };
# Symlink all files except hyprland.conf # Symlink all files except hyprland.conf
home.file = lib.genAttrs otherHyprlandFiles (name: { xdg.configFile = lib.genAttrs otherHyprlandFiles (name: {
target = "/.config/hypr/${name}"; target = "hypr/${name}";
source = "${flakeRoot}/assets/hyprland/conf/hypr/${name}"; source = "${flakeRoot}/assets/hyprland/conf/hypr/${name}";
createSymlink = true;
}); });
# Append the base config to hyprland.conf, preserving manual changes # Append the base config to hyprland.conf, preserving manual changes
@@ -40,11 +39,7 @@ in
# Your manual settings will go below this line and will not be overwritten # Your manual settings will go below this line and will not be overwritten
''; '';
# Create the directory structure # Create the directory structure (optional, if not already created)
xdg.configFile = { xdg.configFile."hypr/.keep".text = "";
"hypr/.keep" = {
text = "";
};
};
}; };
} }