Reorganize installed tools using home-maker pattern (Arch + Fedora)#4
Draft
Reorganize installed tools using home-maker pattern (Arch + Fedora)#4
Conversation
Agent-Logs-Url: https://github.com/pombadev/dotfiles/sessions/0c5391d6-dbf1-4a3d-b074-9999007a76a5 Co-authored-by: pombadev <11157420+pombadev@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
pombadev
April 3, 2026 10:02
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the monolithic
Makefilewith a modular home-maker pattern that supports both Arch Linux and Fedora.What changed
Makefilehm.shfzffrontend to install/upgrade any package or groupdev/cli.mkdev/langs.mkdev/rust.mkdev/fonts.mkdesktop/apps.mkdesktop/gnome.mkgsettingsGNOME preferences from the original MakefileHow it works
OS is detected at parse time via
/etc/os-release. Every.mkfile appends toPKG,AUR,CARGO,GO, orNPMlists. The Makefile generates individual.PHONYtargets for each entry using the right install command for the active distro.PKG_<name>variables handle packages with different names between distros (e.g.libreoffice-freshon Arch vslibreofficeon Fedora).Distro differences handled
pacmanfor official packages,parufor AUR (zoom, dart, ttf-ms-fonts, gnome-browser-connector, snapd)dnffor everything; AUR targets are skipped gracefully; zoom downloads directly from zoom.us; dart installed via snap; dotnet-sdk uses versioned package name