aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/justfile
Commit message (Collapse)AuthorAgeFilesLines
* feat(services): curated systemd units via just recipesLibravatar sommerfeld46 hours1-1/+53
| | | | | | | | | | | | | | | | Introduce systemd-units/<group>.txt files paired by name with meta groups (systemd-units/base.txt <-> meta/base.txt). Units listed there are enabled by a new 'just services-enable' recipe, wired into 'just init' so bootstrap.sh no longer needs its own systemctl loop. New justfile recipes (Services section): services list curated units with enabled/active state services-enable idempotent 'systemctl enable --now', soft-fail per unit services-drift two-way diff vs systemctl list-unit-files bootstrap.sh drops its hardcoded 9-unit loop and laptop TLP block (~22 lines); 'just init' now handles it. tlp.service lives directly in systemd-units/base.txt (no laptop gating).
* fix: 'just remove' only edits the list, never uninstallsLibravatar sommerfeld46 hours1-2/+1
| | | | | Package may belong to other groups; uninstall is the user's call (use 'just undeclared | paru -Rs -' afterward if desired).
* feat: add 'just remove' to drop packages from a group and uninstallLibravatar sommerfeld46 hours1-0/+20
|
* feat: 'just add' accepts multiple packagesLibravatar sommerfeld46 hours1-9/+11
|
* fix: pass --ask=4 to piped paru installs to auto-resolve conflictsLibravatar sommerfeld46 hours1-3/+3
| | | | | | Needed so the first 'just init' on a stock Arch system (sudo preinstalled) can swap sudo for doas-sudo-shim without a prompt pacman refuses to emit under --noconfirm.
* chore: drop --noconfirm from 'just add' (stdin-less invocations can prompt)Libravatar sommerfeld46 hours1-1/+1
|
* chore: add --noconfirm to all 'paru -S' invocations in justfileLibravatar sommerfeld46 hours1-4/+4
|
* feat: 'just undeclared' now considers only active (≥50%) groupsLibravatar sommerfeld46 hours1-16/+18
| | | | | | | | A package only listed in unadopted groups (e.g. steam in gaming on a non-gaming machine) now counts as undeclared. Extracts a hidden _active-packages helper so pkg-drift and undeclared share the same 'active list' logic.
* fix: align 'just groups' signalling with ≥50% thresholdLibravatar sommerfeld46 hours1-3/+3
| | | | | | - ✓ fully installed (100%) - ~ adopted but partial (≥50%, <100%) - ✗ not adopted (<50%, includes 0%)
* fix: 'just init' now deploys dotfiles after regenerating configLibravatar sommerfeld46 hours1-2/+2
|
* docs: fix 'just undeclared' doc comment (was collapsed by just)Libravatar sommerfeld46 hours1-2/+1
|
* feat: split drift recipes and add 'just undeclared'Libravatar sommerfeld46 hours1-7/+19
| | | | | | | | - 'just status' now a thin wrapper for 'pkg-drift + dotfile-drift' - 'just pkg-drift' and 'just dotfile-drift' are individually addressable - 'just undeclared' prints undeclared packages unindented, one per line, so they pipe cleanly into 'paru -Rs -' - pkg-drift reuses 'just undeclared' via sed to avoid duplicating logic
* feat: add 'just diff' and 'just merge' for chezmoi drift investigationLibravatar sommerfeld46 hours1-0/+13
| | | | | | Both accept an optional file path. 'just merge' without an argument runs chezmoi merge-all (interactive across all modified files); with an argument it merges just that one target.
* style: drop redundant [private] attribute (_-prefix already hides recipes)Libravatar sommerfeld46 hours1-2/+0
|
* refactor: reorganize justfile with sync wrapper and generalized initLibravatar sommerfeld46 hours1-37/+72
| | | | | | | | | | | | | - 'just sync' now wraps apply + fix for combined dotfile + package reconciliation - 'just init' generalized for first-time machine setup: regenerate chezmoi config, install git hooks, install base packages - Hidden helper recipes (_chezmoi-init, _install-hooks) via [private] so they don't clutter 'just --list' - Section banners organize the justfile into Setup, Day-to-day, Inspection, Package management, and Hidden helpers - Default recipe (bare 'just') shows the list - Doc comments reworded for clarity in the autocomplete menu
* refactor: revert auto-init, add dedicated 'just init' recipeLibravatar sommerfeld46 hours1-3/+6
| | | | | | chezmoi init is only needed when .chezmoi.toml.tmpl changes, so running it on every apply is unnecessary overhead. Run 'just init' manually when the template changes.
* fix: use 'chezmoi init --apply' to regenerate config on template changesLibravatar sommerfeld46 hours1-2/+3
| | | | | | | When .chezmoi.toml.tmpl changes (e.g. adding [status] exclude=scripts), plain 'chezmoi apply' warns and keeps using the stale config. Using 'init --apply' regenerates the config from the template and applies in one step. Status does a silent init first for the same reason.
* fix: pass -S . to chezmoi so apply/status work from any CWDLibravatar sommerfeld46 hours1-2/+2
| | | | | | Without an explicit source, chezmoi defaults to ~/.local/share/chezmoi which doesn't exist on this setup. The post-commit hook uses git rev-parse so it works even if the hook is run from a subdirectory.
* refactor: 'just status' only reports missing for groups ≥50% installedLibravatar sommerfeld46 hours1-3/+18
| | | | | | Unadopted groups (e.g. gaming, nvidia on non-gaming/non-nvidia machines) no longer spam 'missing:' lines. Undeclared detection is unchanged — any installed package not in any list is still reported.
* refactor: raise 'just fix' threshold from ≥1 to ≥50% installedLibravatar sommerfeld46 hours1-6/+8
| | | | | | Avoids triggering on groups where only a single transitive dep happens to be installed. Also skips fully-installed groups (nothing to do).
* feat: add 'just fix' to top up partially-installed meta groupsLibravatar sommerfeld46 hours1-0/+15
| | | | | For each group with at least one package installed, install the rest via paru --needed. Never-installed groups (✗) stay untouched.
* feat: 'just groups <name>' shows per-package breakdown for one groupLibravatar sommerfeld46 hours1-2/+17
|
* feat: add 'just groups' recipe to show per-group install coverageLibravatar sommerfeld46 hours1-0/+20
| | | | | | | Shows install status for each meta group: ✓ (green) fully installed ~ (yellow) partially installed ✗ (red) nothing installed
* feat: add 'just add <group> <pkg>' recipeLibravatar sommerfeld46 hours1-0/+17
| | | | | Appends the package to meta/<group>.txt (if not already present) and installs it via paru --needed. Equivalent to chezmoi add for packages.
* refactor: replace meta/ PKGBUILDs with plain text package listsLibravatar sommerfeld46 hours1-0/+27
| | | | | | | | | | - Convert 16 PKGBUILD metapackages to simple .txt files (one package per line) - Delete all PKGBUILD, .SRCINFO, and .pkg.tar.zst binary artifacts - Clean stale packages: lf→yazi, tmux→zellij, neofetch→fastfetch, stow→chezmoi - Remove duplicate rustup in dev, duplicate mesa in intel - Add justfile recipes: install, install-all, status (unified drift detection) - Configure chezmoi to exclude scripts from status/diff output - Update copilot instructions
* feat: add tracked git hooks and justfileLibravatar sommerfeld46 hours1-0/+7
- .githooks/post-commit: runs chezmoi apply after every commit - justfile: 'just install-hooks' sets core.hooksPath - Added justfile and .githooks/ to .chezmoiignore