summaryrefslogtreecommitdiff
path: root/deployment/services/admin.scm
AgeCommit message (Collapse)Author
10 hours(deployment services admin): rework bash aliases into standalone commandsHEADtestmasterMarek Paśnikowski
* Rename export update-commands to bash-aliases_service-record and the service to 'bash-aliases. * Drop the "guix", "guix-test", "pull-down", "reconfigure-down" and "sudo" aliases and the (deployment channels) import. * Rename "pull" to "pull-guix" and "reconfigure" to "reconfigure-system". * Bind "collect-garbage", "delete-generations" and the renamed aliases to full command lines with "sudo guix" embedded, replacing bare fragments expanded after the "guix" and "sudo" aliases. * Factor the twice-hardcoded "7d" into retention-duration_string, validated at build time with string->duration. * Replace $HOSTNAME with a ${HOSTNAME:?HOSTNAME is not set} guard and wrap the reconfigure-system and upgrade-system values in literal-string, deferring expansion from .bashrc load to invocation. * Add the upgrade-system alias, chaining pull, reconfigure, delete-generations and gc with "&&". * Add a rationale comment above each definition.
2026-10-08start using guix-for-channelsMarek Paśnikowski